simon
499c47c7a1
move set_cookie to separate method for reusabliity
2022-06-21 08:01:33 +07:00
simon
2cf30e1127
refactor: default set_message in RedisArchivist to True
2022-06-16 10:37:46 +07:00
simon
30abbe9be7
rewrite cookie into redis from io stream, auto validate
2022-06-15 17:54:05 +07:00
simon
2ceb1b701a
consolidate config of cookie revoke
2022-06-15 15:39:24 +07:00
simon
2ad093a9a8
handle cookiejar.LoadError dont import invalid cookie
2022-06-15 10:39:48 +07:00
simon
09a94d0df5
set relative values directly with path arg
2022-06-15 10:27:29 +07:00
lamusmaser
bbb16bb3c2
Update TaskAPIView with GET - #257 PR ( #258 )
...
* Initial commit for GET response for TaskAPIView.
* Update for missing space - linting issue.
* Additional linting fixes.
* add is_locked method to check if lock is set
* Update to use `.is_locked` method and add decorator.
* Fix linting issue.
* Fix doubled "rescan" call for locked file.
Removed call to ".owned()" under "is_locked".
* Commenting out GET call in TaskAPI view to revert change for testing.
* Commenting is_locked function to see if Server Response 500 is stopped.
* Reassert is_locked function within RedisArchivist class.
* Create test GET responder.
* Reverting simple GET response change.
* Reapplying simple GET response for `/api/task/`.
* Reapplying change with modification to lock key.
* Documentation update for new GET calls.
* README: fix returned value as `bool` instead of `str`.
* Updating the `is_locked` key reference to "rescan" and "downloading" to fix which key is being retrieved.
* Use dictionary keys, rather than line-by-line statements.
* Fix typo in README for Task View.
Co-authored-by: simon <simobilleter@gmail.com>
2022-06-15 09:15:59 +07:00
simon
c41f0a7cc4
try to LOAD_TRUNCATED_IMAGES, #256
2022-06-01 09:04:55 +07:00
simon
5d262d7d48
skip cookie if no config added to YtWrap
2022-05-30 18:22:17 +07:00
simon
231ac1e012
make channel matching optional for reusability
2022-05-30 17:59:52 +07:00
simon
bbb0c26498
fix subtitle delete overwrite, change filename to .lang.vtt, #195
2022-05-29 11:43:25 +07:00
simon
9f92bf95b4
mark video as downloaded false when deleting video
2022-05-28 21:23:56 +07:00
simon
e638f8b487
skip subtitle segment without segs key, #249
2022-05-28 17:47:21 +07:00
simon
caaed252f9
specify videos page for get_last_youtube_videos of channel
2022-05-28 14:34:01 +07:00
simon
5982932457
implement variable grid row size
2022-05-28 13:57:29 +07:00
simon
9a31243b1c
log message when skipping video
2022-05-28 11:11:09 +07:00
simon
88e526f5e5
refactor new YtWrap class for yt-dlp calls, #build
...
Changed:
- new yt-dlp base class
- new cookie class using io_stream
- MetadataFromField postprocessors
2022-05-25 16:15:38 +07:00
Clark
730ac15349
Fix #241 Use title/uploader for embedded metadata not Content ID ( #252 )
2022-05-25 16:13:25 +07:00
simon
0ac9243389
remove unused monitor_cache_dir method
2022-05-24 15:54:41 +07:00
simon
c39f8a9cb8
refactor use cookie io_stream
2022-05-24 15:51:58 +07:00
simon
9dd1e9a29f
extract playlists with new YtBase class
2022-05-24 10:44:18 +07:00
simon
3f5104d6d8
integrate new YtWrap class in download queue and subscriptions classes
2022-05-24 10:36:39 +07:00
simon
4b00f454b7
integrate new YtWrap class in yt_dlp handler
2022-05-24 10:19:02 +07:00
simon
33f27f018f
handle download error
2022-05-24 10:18:33 +07:00
simon
a7d9b4584b
implement new YtBase class for index classes
2022-05-24 10:01:30 +07:00
simon
4e699621a0
obs base and handle extract error
2022-05-24 10:00:40 +07:00
simon
37e6f8656a
yt-dlp base class
2022-05-24 08:53:05 +07:00
simon
3722f11a65
cleanup cookie file after task
2022-05-07 09:34:51 +07:00
simon
087043811f
avoid unneeded cookie open
2022-05-07 09:34:33 +07:00
simon
94fa191fb8
skip premium videos, clean exit for empty bulk_list, #237
2022-05-05 23:38:10 +07:00
simon
9a2b29c2ae
implement channle name change in reindex, #211
2022-05-05 22:59:56 +07:00
simon
7a51368955
fix skip deleting none existing subtitles, add update_media_url
2022-05-05 22:56:22 +07:00
simon
7fa0d0f331
untangle delete subtitles from delete media file, #195
2022-05-05 09:11:37 +07:00
simon
1613b71942
hide cookie after rescan and download process
2022-05-03 17:32:32 +07:00
simon
83beb53860
simplify _add_single to call update_status in PendingInteract directly
2022-05-02 21:38:03 +07:00
simon
8a4c50779a
standardize prints for PostData mapper
2022-05-02 18:39:54 +07:00
simon
ca5b00a373
refresh for PendingInteract delete to avoid race condition, #217
2022-05-02 18:20:56 +07:00
simon
34a1fe9e8e
fix thumb re-embed task, #231
2022-05-02 17:38:20 +07:00
simon
34c18e75f5
add LL and WL as valid playlists with cookie
2022-05-02 11:30:38 +07:00
simon
6fbac12314
fix channel_validate in PlaylistSubscription, #223
2022-05-02 11:27:50 +07:00
simon
ca3ea20283
add socket_timeout when passing check_formats to yt-dlp
2022-05-02 09:48:52 +07:00
simon
bc7d90f1f4
raise FileNotFoundError when trying to use unavailable cookie
2022-04-30 19:09:19 +07:00
simon
3a21690309
implement post_process_updated for settings, import cookie
2022-04-30 18:35:04 +07:00
simon
487c81d50b
fix FileNotFoundError in cookie hide
2022-04-30 18:34:28 +07:00
simon
088e87bccf
add cookiefile to PendingList and VideoDownloader
2022-04-30 17:27:57 +07:00
simon
6cc5fd8890
add cookiefile to yt_obs in YouTubeItem baseclass
2022-04-30 16:40:36 +07:00
simon
4e3d71e0e3
simplify, un-userspaced
2022-04-30 16:38:23 +07:00
simon
9b107b9940
implement cookie validator
2022-04-30 13:05:01 +07:00
simon
43eec5aac0
move CookieHandler to separate module
2022-04-30 12:05:41 +07:00
simon
430fdb6f1c
add cookie import to frontend
2022-04-29 18:38:43 +07:00