aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/yt_data_extract/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* feature/hls: Add HLS playback support, and refactors documentation for ↵HEADv0.5.0masterAstounds32 hours1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | better usability and maintainability. (#1) ## Overview This PR introduces HLS playback support, improves the player experience, and refactors documentation for better usability and maintainability. ## Key Features ### HLS Playback Support - Add HLS integration via new JavaScript assets: - `hls.min.js` - `plyr.hls.start.js` - `watch.hls.js` - Separate DASH and HLS logic: - `plyr-start.js` → `plyr.dash.start.js` - `watch.js` → `watch.dash.js` - Update templates (`embed.html`, `watch.html`) for conditional player loading ### Native Storyboard Preview - Add `native_player_storyboard` setting in `settings.py` - Implement hover thumbnail preview for native player modes - Add `storyboard-preview.js` ### UI and Player Adjustments - Update templates and styles (`custom_plyr.css`) - Modify backend modules to support new player modes: - `watch.py`, `channel.py`, `util.py`, and related components ### Internationalization - Update translation files: - `messages.po` - `messages.pot` ### Testing and CI - Add and update tests: - `test_shorts.py` - `test_util.py` - Minor CI and release script improvements ## Documentation ### OpenRC Service Guide Rewrite - Restructure `docs/basic-script-openrc/README.md` into: - Prerequisites - Installation - Service Management - Verification - Troubleshooting - Add admonition blocks: - `[!NOTE]`, `[!TIP]`, `[!IMPORTANT]`, `[!WARNING]`, `[!CAUTION]` - Fix log inspection command: ```bash doas tail -f /var/log/ytlocal.log ```` * Add path placeholders and clarify permission requirements * Remove legacy and duplicate content Reviewed-on: https://git.fridu.us/heckyel/yt-local/pulls/1 Co-authored-by: Astounds <kirito@disroot.org> Co-committed-by: Astounds <kirito@disroot.org>
* Partially fix age restricted videosJesus E2023-05-281-1/+1
| | | | | | | | | | Does not work for videos that require decryption because decryption is not working (giving 403) for some reason. Related invidious issue for decryption not working: https://github.com/iv-org/invidious/issues/3245 Partial fix for #146
* Fix exception when _captions_base_url is not presentJames Taylor2022-03-301-1/+1
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Always extract from html watch page to get base.js urlJames Taylor2020-12-121-1/+1
| | | | | | Youtube removed the url from the pbj responses. They are now only in the html page. Replaces previous fix for the missing base.js issue.
* Retrieve base.js url from html watch page when it's missingJames Taylor2020-12-091-1/+2
| | | | Fixes failure mode 3 in #22
* Add dialog for copying urls to external player for livestreamsJames Taylor2020-06-281-1/+1
| | | | | Also for livestreams which are over whose other sources aren't present or aren't ready yet.
* Check for 403 errors and fallback on InvidiousJames Taylor2020-02-011-1/+2
| | | | 403 errors on the video urls happen typically when a video has copyrighted content or was livestreamed originally. They appear to not happen (or at least happen less frequently) if the Tor exit node used ipv6, however.
* Extraction: Move non-stateful signature decryption functionality into ↵James Taylor2019-12-191-1/+2
| | | | yt_data_extract
* Extraction: Move html post processing stuff from yt_data_extract to utilJames Taylor2019-12-191-2/+1
|
* Extraction: Split yt_data_extract.py into multiple filesJames Taylor2019-12-191-0/+11