reddit-html-archiver icon indicating copy to clipboard operation
reddit-html-archiver copied to clipboard

Missing the smooth orange-blue formatting, just renders as dull text on a page

Open Rich700000000000 opened this issue 4 years ago • 1 comments

I installed the program with no errors, and ran it with correct date specifications:

python3 ./fetch_links.py WatchPeopleCode 2010-11-11 2020-11-11 
fetching submissions 2010-11-11 to 2020-11-11...

It gave me an error at first:

/usr/local/lib/python3.8/dist-packages/psaw/PushshiftAPI.py:192: UserWarning: Got non 200 code 429
  warnings.warn("Got non 200 code %s" % response.status_code)
/usr/local/lib/python3.8/dist-packages/psaw/PushshiftAPI.py:180: UserWarning: Unable to connect to pushshift.io. Retrying after backoff.
  warnings.warn("Unable to connect to pushshift.io. Retrying after backoff.")

But then ran with no problems:

got 10 links, wrote 10 and 0 comments
got 10 links, wrote 10 and 0 comments
got 10 links, wrote 10 and 0 comments
got 10 links, wrote 10 and 0 comments
got 10 links, wrote 10 and 0 comments
got 10 links, wrote 10 and 0 comments
got 10 links, wrote 10 and 0 comments
got 10 links, wrote 10 and 0 comments
got 10 links, wrote 10 and 0 comments

and write_html did as well.

But when I came back after several hours, I found that the resulting subreddit archive had no formatting: Screenshot from 2020-1 Screenshot from 2020-2

Am I missing a package, or do I have one misconfigured?

Rich700000000000 avatar Dec 25 '20 20:12 Rich700000000000

It sounds like you accidentally deleted r/static/css. Check the browser for the 404 and see what it says.

As for 429, that is pushshift saying too many requests.

libertysoft3 avatar Mar 07 '21 06:03 libertysoft3