Commit Graph

182 Commits (940554560e748bb5d6e59d1b669c543da7c679f7)

Author SHA1 Message Date
MillenniumEarl 0cb3cdb534 Set parameter only if necessary 2021-03-03 21:17:23 +01:00
MillenniumEarl dae582eedc Fallback if category is mods 2021-03-03 21:16:48 +01:00
MillenniumEarl 2be07a38cc Fix invalid URL 2021-03-03 21:16:30 +01:00
MillenniumEarl bd23956dc4 Fix non complete cast of query 2021-03-03 20:29:09 +01:00
MillenniumEarl 3711d8ae3e Fix missing parameter in casts 2021-03-03 20:28:45 +01:00
MillenniumEarl 7dae1bad3c Add category to query 2021-03-03 20:28:22 +01:00
MillenniumEarl 18c901288e Miising initialization, fix undefined category 2021-03-03 20:27:13 +01:00
MillenniumEarl 5958c80ab7 Avoid error if response code is < 500 2021-03-03 20:18:44 +01:00
MillenniumEarl 63b3e30def Adapt example to new API 2021-03-03 20:18:14 +01:00
MillenniumEarl ededed1cc8 Re-export classes, fix imports and manage session 2021-03-03 20:18:01 +01:00
MillenniumEarl 2af6c263c1 Remove test script 2021-03-03 20:16:49 +01:00
MillenniumEarl f7dc174e61 Add fallback for missing rating 2021-03-03 20:14:56 +01:00
MillenniumEarl 7dcb49c6a5 Add support for private users 2021-03-03 20:13:42 +01:00
MillenniumEarl b26c5de21b Implement cookie storage on disk 2021-03-03 15:13:00 +01:00
MillenniumEarl 52131a143b Find correct owner 2021-03-03 11:43:17 +01:00
MillenniumEarl 2d7c98f685 Add selector for post owner ID 2021-03-03 11:43:07 +01:00
MillenniumEarl b1a71ac617 Add method for fetch current user ID 2021-03-03 11:32:50 +01:00
MillenniumEarl 3a41426207 Add selector for current user ID 2021-03-03 11:32:37 +01:00
MillenniumEarl e3446ba096 Fix imports 2021-03-03 11:32:27 +01:00
MillenniumEarl 0a51f5c239 Add setID method and check for id validation in fetch() 2021-03-03 11:31:58 +01:00
MillenniumEarl 08d4476591 Save token with JSON 2021-03-03 11:31:36 +01:00
MillenniumEarl 4002c6a499 Add selectors for watched threads 2021-03-03 10:59:17 +01:00
MillenniumEarl 28b01781b9 Renamed in user-profile.ts 2021-03-03 10:59:05 +01:00
MillenniumEarl b2ce7a61b4 Removed in favour of user-profile.ts 2021-03-03 10:58:55 +01:00
MillenniumEarl 715096bc3b Moved to "mapping" class 2021-03-03 10:58:17 +01:00
MillenniumEarl e88c808986 Implement class 2021-03-03 10:57:50 +01:00
MillenniumEarl bd967d5a8c Update JSDOC 2021-03-02 21:16:07 +01:00
MillenniumEarl 0855e88550 Fix banner scraping 2021-03-02 21:09:33 +01:00
MillenniumEarl b9de6e1838 Fix imports 2021-03-02 21:00:02 +01:00
MillenniumEarl 597cb52e09 Fix imports 2021-03-02 20:58:45 +01:00
MillenniumEarl cb9b0b1207 Update JSDOC 2021-03-02 20:56:48 +01:00
MillenniumEarl b54566350a Improved selector 2021-03-02 20:56:02 +01:00
MillenniumEarl 3a912aa9d9 Implemented class 2021-03-02 20:55:41 +01:00
MillenniumEarl f60606e5e8 Remove file 2021-03-02 20:28:29 +01:00
MillenniumEarl f4af0c43f1 Add overload to getHandiworkInformation 2021-03-02 20:28:05 +01:00
MillenniumEarl ffe9271bcf Add fetch method for PlatformUser 2021-03-02 20:27:50 +01:00
MillenniumEarl 50ff84eb31 Use new method to get post from thread 2021-03-02 19:10:09 +01:00
MillenniumEarl 5b8d6cab31 Remove unused lines 2021-03-02 19:09:54 +01:00
MillenniumEarl 5337012a32 Find correct body of the post 2021-03-02 19:09:36 +01:00
MillenniumEarl 0d28d98d13 Add function to get post instead of list 2021-03-02 19:09:24 +01:00
MillenniumEarl b10002dcc7 Refactored for GET request success/failure 2021-03-02 19:06:27 +01:00
MillenniumEarl c6765dab09 Ad ParameterError 2021-03-02 19:06:13 +01:00
MillenniumEarl 35d359b028 Posts are now lazy 2021-03-02 17:12:39 +01:00
MillenniumEarl 4a16642540 Post is now a lazy class 2021-03-02 17:08:34 +01:00
MillenniumEarl 63d27febfa Update JSDOC 2021-03-02 17:06:59 +01:00
MillenniumEarl 5ed5885ce6 Move JSDOC 2021-03-02 16:18:59 +01:00
MillenniumEarl 8359958874 Fix types mismatch 2021-03-02 16:18:47 +01:00
MillenniumEarl 8a7b1b4066 Add selectors for member scraping 2021-03-02 16:18:22 +01:00
MillenniumEarl 7692c8d94a Missing header property 2021-03-02 16:18:09 +01:00
MillenniumEarl d4a1d4dd04 Fix wrong URL composition 2021-03-02 14:03:57 +01:00
MillenniumEarl f85da9f288 Fix imports without ".js" 2021-03-02 13:56:57 +01:00
MillenniumEarl 98b357d05f Scrape handiwork expoliting the new thread class 2021-03-02 12:42:03 +01:00
MillenniumEarl 99a1a3cbe4 Implement information from JSONLD 2021-03-02 12:08:20 +01:00
MillenniumEarl f651c65fc6 Add getters 2021-03-02 11:50:11 +01:00
MillenniumEarl 9e533d56f1 Set fields as private 2021-03-02 11:49:41 +01:00
MillenniumEarl e5cdb9f65d Renamed selectors 2021-03-02 11:49:24 +01:00
MillenniumEarl e3eefe72f7 Add urls 2021-03-02 11:49:02 +01:00
MillenniumEarl 64591eeba6 Extract thread and post only selectors 2021-03-02 11:48:45 +01:00
MillenniumEarl 95e9eaedce Add post map class 2021-03-02 11:48:17 +01:00
MillenniumEarl 6e1e86a983 Refactored POST request 2021-03-02 11:47:55 +01:00
MillenniumEarl 36f6075e32 Add thread class mapping 2021-03-02 11:47:41 +01:00
MillenniumEarl 33cfc3a0a6 Adapt script to new API 2021-02-27 15:33:41 +01:00
MillenniumEarl 09f1a9fd0d Add UserNotLogged error 2021-02-27 15:33:13 +01:00
MillenniumEarl 063eda7e65 Moved script 2021-02-27 13:35:47 +01:00
MillenniumEarl d38cb29de6 Renamed imports 2021-02-27 13:34:56 +01:00
MillenniumEarl 138a112e96 Adapt to new Result class 2021-02-25 19:07:36 +01:00
MillenniumEarl 20e3d863ed Add classes used for better management of errors 2021-02-25 19:06:57 +01:00
MillenniumEarl 827564ca05 Add custom errors 2021-02-25 19:06:36 +01:00
MillenniumEarl 739c39b5f8 Removed redundand JSDOC 2021-02-25 17:14:31 +01:00
MillenniumEarl 10b1685d8d Add accessibility modifiers 2021-02-25 17:14:04 +01:00
MillenniumEarl 40428cb658 Add accessibility modifer 2021-02-25 15:15:57 +01:00
MillenniumEarl c3899010ea Resolve wrong imports 2021-02-25 12:17:29 +01:00
MillenniumEarl c87c426a1f Set as unique AP for searching handiworks 2021-02-25 12:06:38 +01:00
MillenniumEarl 3c34b63cb6 Moved to subfolder "query" 2021-02-25 12:05:54 +01:00
MillenniumEarl 2c9f8e2d0b Moved to subfolder "scrape-data" 2021-02-25 12:05:23 +01:00
MillenniumEarl 973318706c Add scripts used for fetching URLs based on query type 2021-02-25 12:04:42 +01:00
MillenniumEarl 8cb92ebd3c Moved to subfolder "query" 2021-02-25 12:04:06 +01:00
MillenniumEarl 63aa32851b Add itype in IQuery and type TQueryInterface 2021-02-25 12:03:09 +01:00
MillenniumEarl 1f9fe7265a Renamed used class 2021-02-23 19:56:54 +01:00
MillenniumEarl 91209c55da Renamed class 2021-02-23 19:56:34 +01:00
MillenniumEarl 43e4edc75c Add strict statement 2021-02-23 19:56:01 +01:00
MillenniumEarl ee7e00b031 Add IQuery interface, add "Mods" as category 2021-02-23 19:55:47 +01:00
MillenniumEarl 8abaf0b8cf Update search url 2021-02-23 19:55:07 +01:00
MillenniumEarl cf0caad9cb Import categories 2021-02-21 15:13:38 +01:00
MillenniumEarl 31d31bbf08 Add types and renamed class 2021-02-21 15:04:27 +01:00
MillenniumEarl 71ba083666 Renamed class 2021-02-21 14:57:41 +01:00
MillenniumEarl 598eb81c2a Renamed script 2021-02-21 14:57:29 +01:00
MillenniumEarl 7770b95322 Add URLs for alerts, conversations and bookmarks 2021-02-21 14:53:50 +01:00
MillenniumEarl 4bbad3d462 Renamed fields 2021-02-21 14:53:32 +01:00
MillenniumEarl 6c0b81cf8a Renamed scripts 2021-02-21 14:48:19 +01:00
MillenniumEarl 92186e42d8 Renamed field 2021-02-21 14:48:04 +01:00
MillenniumEarl 8d4cd4111f Renamed types 2021-02-21 14:45:21 +01:00
MillenniumEarl c9593d76b6 Renamed fields 2021-02-21 14:40:43 +01:00
MillenniumEarl 7c74cacb6b Add fields 2021-02-21 14:40:36 +01:00
MillenniumEarl a3c2eb81b8 Removed cheerio parameter 2021-02-21 14:40:18 +01:00
MillenniumEarl 91f809f249 Renamed types and fields 2021-02-21 14:40:05 +01:00
MillenniumEarl dac5e9f16b Add login to test 2021-02-21 13:03:32 +01:00
MillenniumEarl b25bf8ac34 Restore commented content 2021-02-21 13:03:19 +01:00
MillenniumEarl 0329b534c0 Completely rewritten script 2021-02-21 12:54:43 +01:00
MillenniumEarl ad29e1a868 Removed game-info.ts 2021-02-21 12:51:29 +01:00