Commit Graph

16 Commits (81059046e4f0d49bedc10775d5ba2796b70a82a5)

Author SHA1 Message Date
sepro add96eb9f8
[cleanup] Add more ruff rules ()
Authored by: seproDev

Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
Simon Sawicki e897bd8292
[misc] Add `hatch`, `ruff`, `pre-commit` and improve dev docs ()
Authored by: bashonly, seproDev, Grub4K

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
HobbyistDev 72671a212d
[extractor/viu] Add `ViuOTTIndonesiaIE` extractor ()
Authored by: HobbyistDev
Closes 
Anant Murmu efa944f4bc
[cleanup] Use `random.choices` ()
Authored by: freezboltz
pukkandan 9f14daf22b
[extractor] Deprecate `_sort_formats`
tkgmomosheep f324fe8c59
[extractor/viu] Support subtitles of on-screen text ()
Authored by: tkgmomosheep
pukkandan 86e5f3ed2e
[cleanup] Upgrade syntax
Using https://github.com/asottile/pyupgrade

1. `__future__` imports and `coding: utf-8` were removed
2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format`
3. f-strings were cherry-picked from `pyupgrade --py36-plus`

Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
zackmark29 c418e6b5a6
[viu] Fix bypass for preview ()
Authored by: zackmark29
Felix S 47b8bf207b
[go,viu] Extract subtitles from the m3u8 manifest ()
Authored by: fstirlitz
zackmark29 1fb707badb
[viu] Fixed extractor ()
Closes 
Authored by: zackmark29, pukkandan
pukkandan f40ee5e9a0
[extractor] Add convinience function `_yes_playlist`
pukkandan 5ad28e7ffd
[extractor] Common function `_match_valid_url`
pukkandan a06916d98e
[extractor] Add `write_debug` and `get_param`
pukkandan a7191c6f57
Fix some linter and typos
lkho baa5873942
[viu:ott] Fix extractor (see desc)
* add language_flag_id query param
* add support for premium account (untested since I dont have a premium account)
* support entire series

Code from:
https://github.com/blackjack4494/youtube-dlc/pull/211
https://github.com/ytdl-org/youtube-dl/pull/15182
https://github.com/ytdl-org/youtube-dl/pull/26775

Fixes:
https://github.com/yt-dlp/yt-dlp/issues/219
https://github.com/ytdl-org/youtube-dl/issues/27946
https://github.com/ytdl-org/youtube-dl/issues/27863
https://github.com/ytdl-org/youtube-dl/issues/27812
https://github.com/ytdl-org/youtube-dl/issues/27464
https://github.com/ytdl-org/youtube-dl/issues/26788
https://github.com/blackjack4494/yt-dlc/issues/136

Possibly also fixes (untested):
https://github.com/ytdl-org/youtube-dl/issues/16992
https://github.com/ytdl-org/youtube-dl/issues/26701

Co-authored by: lkho, pukkandan
Pccode66 7a5c1cfe93
Completely change project name to yt-dlp ()
* All modules and binary names are changed
* All documentation references changed
* yt-dlp no longer loads youtube-dlc config files
* All URLs changed to point to organization account

Co-authored-by: Pccode66
Co-authored-by: pukkandan