80 Commits (328f234711c28fb62fdb6286f568815df4145df1)

Author SHA1 Message Date
Felix Stupp c97559ed62
Reworked ExtractedData classes, split into Offline & Online 2 years ago
Felix Stupp 487b126fe1
Add aggregated extraction support 2 years ago
Felix Stupp 0d75fa72bd
Add TMDB extraction support 2 years ago
Felix Stupp 1139219e23
Add support for TVMaze extraction 2 years ago
Felix Stupp 9ffb34b972
Use ExtractedDataLight where data cannot be supplied 2 years ago
Felix Stupp d6768135f3
MediaExtractor: Fix type hints to Generic from super class 2 years ago
Felix Stupp 9c7fd0d4cd
Extract media_extract_uri_new from media_extract_uri 2 years ago
Felix Stupp 0554dcff18
Extract collection_extract_uri_new from collection_extract_uri 2 years ago
Felix Stupp af1c279eb3
YouTubeCollectionExtractor: Set creator if already extracted 2 years ago
Felix Stupp 9b31fb73cb
YouTubeCollectionExtractor: Set a release_date determined by first video 2 years ago
Felix Stupp cacc6e9a05
YouTubeCollectionExtractor: Reformat code 2 years ago
Felix Stupp 4a690688f6
YouTubeCollectionExtractor: Use sorting_method to sort channel videos by date 2 years ago
Felix Stupp 8f100ad917
YouTubeCollectionExtractor: Extract description 2 years ago
Felix Stupp 7913cd3561
YouTubeCollectionExtractor: allow partial-only updates on channels 2 years ago
Felix Stupp 2dd0b575fa
TT-RSS: Set collection author & watch in order auto val 2 years ago
Felix Stupp e4a50288d6
Enable mark_as_read for TT-RSS extractor 2 years ago
Felix Stupp fc35a62871
Extract set_watch_in_order_auto to MediaCollection 2 years ago
Felix Stupp 51c1ee5c08
Add missing Optional on _load_object & use explcit is None checks 2 years ago
Felix Stupp 2214df4561
Add capability to inject episodes from collection updates 2 years ago
Felix Stupp 7c96aaa6a7
Avoid circular dependency by moving import into function 2 years ago
Felix Stupp 39b3ac278b
extractors: Add & Fix return types
tt_rss's _update_object_raw should have never returned a str
2 years ago
Felix Stupp c59000847d
Decrease external cache time for ytdl to 1 day 2 years ago
Felix Stupp 94fc20cb89
Declare entertainment_decider/extractors a module
by creating an empty __init__.py
2 years ago
Felix Stupp 6ab8781520
Add way to inject object while extracting
To save extracting work, if e.g. updating a collection also receives
data about medias in it (which then do not need any more requests)
2 years ago
Felix Stupp ae047a0c47
extractors/generic: Clean code
- Reformat
- Add return types
- Remove unrequired imports
2 years ago
Felix Stupp 051d4a7ccd
Added logging to suitable extractor search 2 years ago
Felix Stupp f8b9825a2a
TtRssCollectionExtractor: Increase cache timeout to 15 minutes 2 years ago
Felix Stupp e486dccf8e
Add capability to mark TT-RSS feed items as read 2 years ago
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