Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Add a 429 code handler and fixed a couple places where a bad object w…#10

Open
Xudmud wants to merge 1 commit intoalexwlchan:masterfrom
Xudmud:master
Open

Add a 429 code handler and fixed a couple places where a bad object w…#10
Xudmud wants to merge 1 commit intoalexwlchan:masterfrom
Xudmud:master

Conversation

@Xudmud
Copy link

@Xudmud Xudmud commented May 7, 2020

…as returned.

If a work had no summary the script would return a NoneType. Changed it to a null string.

Some posts can have more than one author, so changed the assert to build a list of authors.

If a post has not been bookmarked, the script returns NoneType which causes the json() function to fail. Set it to return 0 instead. Did the same with hits just in case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments