diff --git a/README.md b/README.md index 71bf177..d23fd62 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ uv run envied --help ``` **Configuration** -Run this line inside the VineFeeder folder: +Run this line inside the TwinVine folder: ``` cp packages/envied/src/envied/envied-working-example.yaml packages/envied/src/envied/envied.yaml ``` diff --git a/packages/envied/README.md b/packages/envied/README.md index 5354e9e..00fe3c4 100644 --- a/packages/envied/README.md +++ b/packages/envied/README.md @@ -8,7 +8,7 @@ ## What is envied? Envied is a fork of [Devine](https://github.com/devine-dl/devine/). The name 'envied' is an anagram of Devine, and as such, pays homage to the original author. -Is is based on v 1.4.7 of unshackle. It is a powerful archival tool for downloading movies, TV shows, and music from streaming services. Built with a focus on modularity and extensibility, it provides a robust framework for content acquisition with support for DRM-protected content. +Is is based on v 1.4.7 of envied. It is a powerful archival tool for downloading movies, TV shows, and music from streaming services. Built with a focus on modularity and extensibility, it provides a robust framework for content acquisition with support for DRM-protected content. No commands have been changed 'uv run envied' still works as usual. diff --git a/packages/envied/src/envied/services/TEN/__init__.py b/packages/envied/src/envied/services/TEN/__init__.py index 6519e52..d57eb0b 100644 --- a/packages/envied/src/envied/services/TEN/__init__.py +++ b/packages/envied/src/envied/services/TEN/__init__.py @@ -36,7 +36,7 @@ class TEN(Service): Service code for 10Play streaming service (https://10.com.au/). \b - Version: 1.0.1 + Version: 1.0.2 Author: stabbedbybrick Authorization: credentials Geofence: AU (API and downloads) @@ -274,8 +274,12 @@ class TEN(Service): tracks = self._add_tracks(tracks) - for track in tracks.subtitles: - track.downloader = requests + for track in tracks: + track.OnSegmentFilter = lambda x: re.search(r"redirector.googlevideo.com", x.uri) + track.downloader_args = {"--ad-keyword": "redirector.googlevideo.com"} + + if isinstance(track, Subtitle): + track.downloader = requests # if caption := stream_data.get("subtitles", [])[0].get("webvtt"): # tracks.add(