Skip to content

"Fortune Cookie" API is Old #4

@koki0702

Description

@koki0702

In the book at p.220, "Fortune Cookie" API doesn't work.
Please check!

http://www.iheartquotes.com/api/v1/random

>>> import urllib.request as ur
>>> url = 'http://www.iheartquotes.com/api/v1/random'
>>> conn = ur.urlopen(url)
>>> print(conn)
<http.client.HTTPResponse object at 0x1006fad50>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions