Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
ATBS - xkcd images get scraped but unable to read/open them
Post Body

My code - http://pastebin.com/VmBmTmhi

The images get pulled to my folder from each link however I am unable to read the files. In irfanview it says unable to read the header. Can someone help me figure this out? I'm stumped. I have a feeling it has something to do with the file encoding but I don't know much about that yet.

Edit: I now realise that the program is downloading the full html document and calling it an image file. I'm still trying to figure it out.

Edit2: Fixed.

Python 3.5

Windows 7

Author
Account Strength
100%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
50,373
Link Karma
2,506
Comment Karma
47,867
Profile updated: 1 month ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 years ago