Skip to content

jpeg error with PIL, Can't convert 'NoneType' object to str implicitly #95

Description

@hnykda

Hello,

when I try for example this code:

url = "http://www.huffingtonpost.com/2014/12/16/politifact-lie-of-the-year-ebola_n_6335360.html"
a = nws.Article(url)
a.download()
a.parse()

I get this error:

CRITICAL:newspaper.article:jpeg error with PIL, Can't convert 'NoneType' object to str implicitly

everything works (I think) fine - at least I haven't found anything weird. I can give you additional info - not sure if that is bug or it's because of my configuration.

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