Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Rich700000000000 opened this issue Dec 25, 2020 · 1 comment

Comments

@Rich700000000000
Copy link

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?

@libertysoft3
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants