52 Commits (321847446b29963108cb89eebe4d3c3902a1a6ef)

Author SHA1 Message Date
Felix Stupp 321847446b
Add sorting mechanism post collection update
e.g. sort some collections strictly on release date
(if collection author is not capable of sorting them ...)
2 years ago
Felix Stupp f51cbc31c3
CollectionExtractor._add_episode: Only log on link change 2 years ago
Felix Stupp a1b64d8644
extractors/collection/base: Reformat code 2 years ago
Felix Stupp ed8fc4439e
Introduce dynamic cache calculation for YouTube collection 2 years ago
Felix Stupp 49cff6f300
uri_suitable: Explicitly check for "is not None" & use helper methods
- helper for convertion from boolean to SuitableLevel
2 years ago
Felix Stupp 54748a9540
_check_cache_expired modified to be able to access full object
for more advanced calculations about caching
2 years ago
Felix Stupp 2e97563e0e
YtdlMediaExtractor._update_object_raw: Add return type 2 years ago
Felix Stupp babdf8ff64
extr/media/youtube: Reraise exceptions from extraction as ExtractionErrors 2 years ago
Felix Stupp 33ac573a57
extr/media/youtube: Ignore live streams until they are available as VOD 2 years ago
Felix Stupp 922c9fd5a2
extr/media/youtube: Rename extractor to "youtube" 2 years ago
Felix Stupp 0debf4d875
extr/media/youtube: support embed & shorts video links 2 years ago
Felix Stupp 5479db90b8
extr/media/youtube: Also support youtube-nocookie links 2 years ago
Felix Stupp 35024597df
extr/media/youtube: Rewrite URI so extractor works deteministicly 2 years ago
Felix Stupp 6bb65981c9
extr/media/youtube: Explicit check for suitable URI 2 years ago
Felix Stupp 96e12f6fe8
extr/coll,media/youtube: Move setting URLs to media extractor 2 years ago
Felix Stupp 4e62a3fe70
extr/media/youtube: Extract description 2 years ago
Felix Stupp c9c60d4e2b
extr/media/ytdl: Extract description 2 years ago
Felix Stupp 683a7a2555
extr/media/ytdl: Add thumbnail of video 2 years ago
Felix Stupp cfa3012798
extr/media/ytdl: Restrict to https?:// urls 2 years ago
Felix Stupp f0af32c099
Extract media thumbnail automatically from YouTube 2 years ago
Felix Stupp dfee06106f
ent_dec/extr/med/base:MediaExtractor._get_auth_d: Fix not using TypeVar 2 years ago
Felix Stupp f236db4084
Format code
- server/entertainment_decider/common.py
- server/entertainment_decider/extractors/all/tt_rss.py
- server/entertainment_decider/extractors/all/ytdl.py
- server/entertainment_decider/extractors/collection/__init__.py
- server/entertainment_decider/extractors/collection/tt_rss.py
- server/entertainment_decider/extractors/collection/youtube.py
- server/entertainment_decider/extractors/generic.py
- server/entertainment_decider/extractors/helpers.py
- server/entertainment_decider/extractors/media/__init__.py
- server/entertainment_decider/extractors/media/base.py
- server/entertainment_decider/extractors/media/youtube.py
- server/entertainment_decider/extractors/media/ytdl.py

Applied automatically using black
2 years ago
Felix Stupp bd72ad77bb
Reformat code (partially using black) 2 years ago
Felix Stupp d0c2aab529
Added youtube media extractor based on new version of youtubesearchpython 3 years ago
Felix Stupp 075b0a544c
extractors.SuitableLevel: Added methods for fancy tenary's 3 years ago
Felix Stupp a51aa48941
extractors/collection: Extract _add_episode into base 3 years ago
Felix Stupp 5b78e8120c
add MediaCollection|MediaElement.add_single_uri and rewrite appropiate usages 3 years ago
Felix Stupp c77e0ac81e
entertainment_decider/extractors/generic: Add debug log for skipped elements due to cache timeout 3 years ago
Felix Stupp 18ec39e7b2
extractors/collection/tt_rss: Remove debug priting for labels 3 years ago
Felix Stupp b982f7b5bb
extractors/collection/tt_rss: Decrease cache timeout to 10 minutes 3 years ago
Felix Stupp c99c69b7df
extractors/collection/*: Fix check for cache timeout 3 years ago
Felix Stupp 6b45d0fbd1
extractors/{collection,media}: Add *_update method 3 years ago
Felix Stupp 4d5f5ea4d4
extractors/{collection,media}: Extract *_expect_extractor "partial" method 3 years ago
Felix Stupp 6330443876
Allow unextracted elements and collections to exists, add/use reflecting property 3 years ago
Felix Stupp ad5a504263
extractors/collection/youtube: Normalize playlist titles as well 3 years ago
Felix Stupp 1bca3104bd
Normalize auto-generated collection titles 3 years ago
Felix Stupp d0b3795484
extractors/generic: Add Optional to load_* type hints 3 years ago
Felix Stupp b19bfbb8a4
extractors/collection: Also configure newly created collection object 3 years ago
Felix Stupp 4adb0484f3
extractors/collection: Extract method __configure_collection 3 years ago
Felix Stupp bc68e40ad7
extractors/media/base: Made 4 functions for author collections private 3 years ago
Felix Stupp 699708043c
extractors/collection/youtube: Assign better collection name for YT-channels 3 years ago
Felix Stupp aafa99cbf7
extractor/collection/{tt_rss,youtube}: Fix extracting media uri's 3 years ago
Felix Stupp 37d24b0cee
Fix searching in extractor list instead of keys 3 years ago
Felix Stupp 6f88153932
model: Added before_update handlers for auto uri linking 3 years ago
Felix Stupp bdc9cd7f5c
extractors.all.ytdl.get_playlist_info: Add required args for youtube-dl 3 years ago
Felix Stupp e41175f0fa
Extracted extractors.all.ytdl module 3 years ago
Felix Stupp 9340d4171a
Extracted extractors.all.tt_rss module 3 years ago
Felix Stupp c01d522749
extractors: Added mechanic to update last_updated date 3 years ago
Felix Stupp 86520ae30e
Added search for suitable extractor automatically 3 years ago
Felix Stupp beaf99e539
Remove extractor_cache and further usages of it 3 years ago