17 Commits

Author SHA1 Message Date
Thomas Wade
38ba8a50df Extract titles, descriptions, and author usernames from embedded JSON
To save some more time, the scraper will succ the JSON used for generating pop-up descriptions on each item.
2020-06-28 00:47:50 +09:30
Thomas Wade
e14f6492ff Include comment content 2020-06-06 04:21:35 +09:30
Thomas Wade
7e3584d5ee Properly check if API instances need overwriting 2020-04-25 03:38:47 +09:30
Thomas Wade
7fe51c340a Use value of enum, not class name 2020-04-25 03:28:19 +09:30
Thomas Wade
c8e7ee3ebf Actually import everything 2020-04-25 03:27:48 +09:30
Thomas Wade
03905756ca Add search function 2020-04-25 03:08:23 +09:30
Thomas Wade
cd6cbd9948 Log in properly and clear cookies on failure
Just because we say we're logged in doesn't mean we actually are logged in.
2020-04-22 17:33:39 +09:30
Thomas Wade
c0b381aca7 Update cached object API instances when deserialising 2020-04-22 16:54:38 +09:30
Thomas Wade
e7aba9e10a Only handle fave-related stuff when logged in 2020-04-22 16:46:24 +09:30
Thomas Wade
abdc8fe67a Fix misspelled dict entry 2020-04-22 16:39:36 +09:30
Thomas Wade
676a619775 Use existing cookies by default
They can still be overridden by supplying custom cookies though
2020-04-22 16:38:23 +09:30
Thomas Wade
042f732c69 Cache preview URLs early
Totally not modifying the API to conform with the project based on it
2020-04-22 04:52:00 +09:30
Thomas Wade
a70f181673 Add function to get a submission
I shouldn't have to use the Submission class to do anything outside of the library.
2020-04-22 04:00:28 +09:30
Thomas Wade
ebcc589841 Actually verify whether the login was successful 2020-04-22 03:40:45 +09:30
Thomas Wade
49970328f7 Fix broken gallery selector 2020-04-21 21:38:32 +09:30
Thomas Wade
b4afac95fd Get recommended submissions 2020-04-21 20:33:55 +09:30
Thomas Wade
7a11a940d1 Add setup file 2020-04-21 18:30:18 +09:30