Commit Graph

78 Commits

Author SHA1 Message Date
ThePendulum aa1c612306 Added after/before-index alias for after/before-indexed 2018-07-08 00:18:51 +02:00
ThePendulum 3abc6bb389 Always returning null for profile details when no profile was found, not undefined. Prevents YAML index write from failing. 2018-07-07 23:45:43 +02:00
ThePendulum 3a86f61835 Defaulting to jpeg if reddit image extension is not present. 2018-07-07 04:12:16 +02:00
ThePendulum f025aaa370 Added optional URL query to all external hosts in link dissection. 2018-07-07 04:07:07 +02:00
ThePendulum 3c9675ea85 Removed duplicate post link from imgur logs 2018-07-07 04:03:42 +02:00
ThePendulum d9ce4dd056 Added option to index (specified) ignored posts. Saving index through save module, and it now notifies the user that an index has been written. 2018-07-07 02:17:41 +02:00
ThePendulum 783e2d8765 Added byte truncate script to repo. Fixed yargs not enforcing choices. 2018-07-07 00:58:15 +02:00
ThePendulum 6c15d2e88b Calculating filename component limit in bytes rather than characters, preventing 'filename too long' errors when e.g. emojis are used 2018-07-07 00:37:10 +02:00
ThePendulum 4e19c25b0d Reintroduced imgur API as a fallback method. 2018-07-06 23:05:58 +02:00
ThePendulum a0e01c8837 Allowing for -mobile gfycat links, simplified URL patterns 2018-07-06 00:39:43 +02:00
ThePendulum 160ee9711d Accounting for actualid_d.jpg imgur pattern. Added debug argument to print full stack trace on error. 2018-07-05 23:27:11 +02:00
ThePendulum 2cc15eecd0 No longer relying on imgur API for albums. Removed config for imgur API. Fixed ?#0 URLs not being detected for imgur. 2018-07-05 02:54:29 +02:00
ThePendulum f5382ddc37 No longer using imgur API for individual images. Only saving EXIF data to JPEGs. Always using global exiftool instance. 2018-07-05 02:00:45 +02:00
ThePendulum 5dce74588b Improved missing gfycat handling. Added 'preview' marker to index. 2018-07-02 23:15:06 +02:00
ThePendulum 310931e4f8 Don't attempt to save index when there are no posts or profile details (complained about directory not existing) 2018-07-02 19:55:21 +02:00
ThePendulum c1f26440fd Added fetch concurrency. 2018-07-02 03:45:20 +02:00
ThePendulum b4356e8e11 Added support for file with host IDs to ignore. 2018-07-02 02:33:34 +02:00
ThePendulum 7335db1593 Allow usernames and post IDs to be read from file. 2018-07-02 00:25:48 +02:00
ThePendulum 5b023adf30 Switched from setTimeout to crontab for watch-mode. 2018-07-01 23:16:03 +02:00
ThePendulum 9ded9a131e Added timestamp to watch mode status log. 2018-07-01 03:38:29 +02:00
ThePendulum cb6fd0c7f6 Fixed profile image checking for indexed description instead of image. 2018-07-01 03:32:53 +02:00
ThePendulum 1b1323dc3d No longer redownload profile image and description when indexed, unless --redownload-profile is specified. 2018-07-01 03:26:26 +02:00
ThePendulum e7eef86b23 Added watch-mode. Waiting for profile detail write to finalize before new watch cycle and capture details in index file. 2018-07-01 03:06:57 +02:00
ThePendulum f9f9c8a0bd Fixed extension getting cut off at filename limit. Cleaned up save module. 2018-07-01 01:49:59 +02:00
ThePendulum c639503667 Fixed index file for single post fetching. 2018-07-01 01:07:32 +02:00
ThePendulum 240146e554 Added redownload option to ignore index file. 2018-07-01 00:22:17 +02:00
ThePendulum 84f7757712 Added date and indexed oldest/latest limit arguments. 2018-07-01 00:07:12 +02:00
ThePendulum a859ac573c Accounting for indexed posts. 2018-06-30 21:47:43 +02:00
ThePendulum 74e36a6826 Using YAML rather than TSV for index files. Improves both readability and reindexability. 2018-06-30 03:33:30 +02:00
ThePendulum 1c4ec06f68 Extracting indexed posts from fetched posts to allow for index rewrite flexibility. 2018-06-20 02:06:59 +02:00
ThePendulum 33ef3d2c19 Reading index file and ignoring already indexed content. 2018-06-17 03:39:12 +02:00
ThePendulum 7cf1a99915 Building user posts object after fetching user to ensure user fetched posts and directly fetched posts are added to the same user key. Refactor to make better use of functions. Moved profile detail saving call to content fetch. No longer attempting and failing to save profile details for deleted users (directory would not exist). 2018-06-17 01:11:10 +02:00
ThePendulum 3b5d886da3 Saving index per user as TSV. Refactoring. 2018-06-15 01:06:31 +02:00
ThePendulum 7446dc9efb Refactored info content fetching and saving to handle users object and utilize async/await. 2018-06-13 01:51:45 +02:00
ThePendulum aef4dd02c7 Fetching and curating posts per user without merge. 2018-06-10 02:48:49 +02:00
ThePendulum f579bb2077 Remove double slashes from URLs before matching. 2018-06-10 01:34:28 +02:00
ThePendulum 3a724d1b37 Improved handling of unavailable/deleted vidble videos 2018-06-07 14:55:16 +02:00
ThePendulum 504de6247f Added vidble direct video (/watch?v=) support. 2018-06-07 14:40:15 +02:00
ThePendulum 89542bd064 Added -size-restricted URL pattern for gfycat. Fixed missing getUser argument. 2018-05-28 22:25:58 +02:00
ThePendulum e056acfbd3 Refactored post retrieval so limit is applied per-user and ignores directly requested posts, and to start utilizing async/await. 2018-05-28 01:42:46 +02:00
ThePendulum 569213e291 Added filepath component length limit with truncator. Fixed double extension dot when copying original extension. Moved API keys to local config. 2018-05-23 17:03:12 +02:00
ThePendulum edf77e259b Refactored post fetching. Cleaner code that will now fetch archived posts even if the user no longer exists on reddit. Expanded gfycat URL detection. 2018-05-22 22:55:50 +02:00
ThePendulum 67378d4c7a Added new eroshare method source files. 2018-05-15 15:36:15 +02:00
ThePendulum 6f21d41cd0 Added support for /i/ eroshare items. 2018-05-14 00:38:49 +02:00
ThePendulum b9a9fb16cf Removed jpeg to jpg replace. 2018-05-12 23:37:24 +02:00
ThePendulum 8abda731dd Added vidble image support. 2018-05-12 23:36:20 +02:00
ThePendulum 9d6882a7c5 Fixed jpeg jpg substitution. 2018-05-12 16:29:41 +02:00
ThePendulum adbbc79b16 Added support for Vidble (image) albums. Replaced extensions.json and reverseLookup with mime-types lib. 2018-05-11 01:46:08 +02:00
ThePendulum cdff8354a7 Fixed missing return causing no saves. 2018-05-05 22:39:21 +02:00
ThePendulum 068ffbdbd8 Added include and exclude source arguments. Improved stream fetch failure handling and improved logging details. 2018-05-05 17:08:40 +02:00