dirkf
182f63e82a
[compat] Add compat_contextlib_suppress
...
with compat_contextlib_suppress(*Exceptions):
# code that fails silently for any of Exceptions
9 months ago
gy-chen
71211e7db7
[Youtube] Fix unwanted private method __ie_msg in f8b0135850
...
Fixes `AttributeError no attribute '_YoutubeIE__ie_msg'` if unable to decode n-parameter
9 months ago
Zizheng Guo
a96a45b2cd
[Vimeo] Improve `config` extraction ( #32742 )
...
* update for more robust json parsing
10 months ago
hatsomatt
820fae3b3a
[Videa] Fix extraction
...
* update API URL
* from https://github.com/yt-dlp/yt-dlp/pull/8003
* thanks to the authors!
Closes yt-dlp/7427
Authored by: hatsomatt, aky-01
10 months ago
dirkf
aef24d97e9
[Videa] Align with yt-dlp
10 months ago
dirkf
f7b30e3f73
[XFileShare] Update extractor for 2024
...
* simplify aa_decode()
* review and update supported sites and tests
* in above, include FileMoon.sx, and remove separate module
* incorporate changes from yt-dlp
* allow for decoding multiple scripts (eg, FileMoon)
* use new JWPlayer extraction
10 months ago
dirkf
f66372403f
[InfoExtractor] Rework and improve JWPlayer extraction
...
* use traverse_obj() and _search_json()
* support playlist `.load({**video1},{**video2}, ...)`
* support transform_source=... for _extract_jwplayer_data()
10 months ago
dirkf
7216fa2ac4
[InfoExtractor] Add `_search_json()`
...
* uses the error diagnostic to truncate the JSON string
* may be confused by non-C-Pythons
10 months ago
dirkf
acc383b9e3
[utils] Let int_or_none() accept a base, like int()
10 months ago
Hubert Hirtz
f0812d7848
[utils] Handle user:pass in URLs ( #28801 )
...
* Handle user:pass in URLs
Fixes "nonnumeric port" errors when youtube-dl is given URLs with
usernames and passwords such as:
http://username:password@example.com/myvideo.mp4
Refs:
- https://en.wikipedia.org/wiki/Basic_access_authentication
- https://tools.ietf.org/html/rfc1738#section-3.1
- https://docs.python.org/3.8/library/urllib.parse.html#urllib.parse.urlsplit
Fixes #18276 (point 4)
Fixes #20258
Fixes #26211 (see comment)
* Align code with yt-dlp
---------
Co-authored-by: dirkf <fieldhouse@gmx.net>
10 months ago
Aaron Tan
40bd5c1815
[caffeine.tv] Add new extractor ( #32514 )
...
* Add CaffeineTVIE info extractor to support site caffeine.tv
---------
Co-authored-by: dirkf <fieldhouse@gmx.net>
10 months ago
dirkf
70f230f9cf
[GBNews]Add new extractor for GB News TV channel ( #29432 )
...
* Add extractor for GB News TV channel
* Support more GBNews URL formats
Allow alphanumeric and _ in place of `shows`, which redirect to site's preferred URL
* Update for 2024
10 months ago
dirkf
48ddab1f3a
[downloader/external] Fix WgetFD proxy (rev 2)
...
From PR (defunct source), closes #29343 .
Matches https://github.com/yt-dlp/yt-dlp/pull/3152
Thx former user kikuyan.
10 months ago
dirkf
7687389f08
[Vbox7] Improve extraction, adding features from yt-dlp PR #9100
...
* changes from https://github.com/yt-dlp/yt-dlp/pull/9100 (thx
seproDev):
- attempt HLS extraction
- re-enable XFF
- test `view_count`, `duration` extraction
* improve commenting, error checks
10 months ago
dirkf
4416f82c80
[Vbox7IE] Sanitise ld+json containing unexpected characters
...
* based on PR #29680
* added hack to force invoking `transform_source`
* fixes #26218
11 months ago
dirkf
bdda6b81df
[Vbox7IE] Improve extraction
...
* DASH extraction no longer fails with new range support
* but always find combined formats if available
* suppress ineffective XFF geo-bypass (causes time-outs)
* adapted from https://github.com/ytdl-org/youtube-dl/pull/29680
* thx former GH user kikuyan
11 months ago
dirkf
1fd8f802b8
[InfoExtractor] Correctly resolve BaseURL in DASH manifest
...
Specs:
* ISO/IEC 23009-1:2012 section 5.6
* RFC 3986 section 5.
11 months ago
dirkf
4eaeb9b2c6
[InfoExtractor] Support byte range for DASH
...
* adapted from https://github.com/ytdl-org/youtube-dl/pull/30279
* thx former GH user kikuyan
11 months ago
dirkf
bec9180e89
[downloader/dash] Support `range` in fragment (format f'{start}-{end}')
...
* adapted from https://github.com/ytdl-org/youtube-dl/pull/30279
* thx former GH user kikuyan
11 months ago
dirkf
c58b655a9e
[InfoExtractor] Support DASH subtitle extraction (yt-dlp back-port)
11 months ago
dirkf
dc512e3a8a
[YouTube] Fix `like_count` extraction using `likeButtonViewModel`
...
* also fix various tests
* TODO: check against yt-dlp tests
11 months ago
dirkf
f8b0135850
[YouTube] Rework n-sig processing, realigning with yt-dlp
...
* apply n-sig before chunked fragments, fixes #32692
11 months ago
dirkf
640d39f03a
[InfoExtractor] Support some warning and `._downloader` shortcut methods from yt-dlp
11 months ago
dirkf
6651871416
[compat] Rework compat for `method` parameter of `compat_urllib_request.Request` constructor
...
* fixes #32573
* does not break `utils.HEADrequest` (eg)
11 months ago
mk-pmb
be008e657d
[core] Fix format string injection for metadata JSON filename message.
1 year ago
Robotix
b1bbc1e502
[Epidemic Sound] Add new extractor ( #32628 )
...
* Add simple extractor
* Support separate tracks
* Use index as id instead of slug
---------
Co-authored-by: dirkf <fieldhouse@gmx.net>
1 year ago
dirkf
55a442adae
[Imgur] Overhaul extractor module ( #32612 )
...
Revise extractors for new API and page formats
1 year ago
mimvahedi
c62936a5f2
[telewebion] Fix extraction ( #32634 )
...
* [telewebion] fix extraction
Resolves https://github.com/ytdl-org/youtube-dl/issues/5135#issuecomment-932952119
---------
Co-authored-by: dirkf <fieldhouse@gmx.net>
1 year ago
dirkf
427472351c
[utils] Make restricted filenames ignore characters in Unicode categories Mark, Other
...
Resolves #32629
1 year ago
dirkf
c6538ed323
[workflows/ci.yml] Use setup-python for now released Python 3.12
1 year ago
dirkf
8d227cb97b
[workflows/ci.yml] Actually use default values for push and pull_request
1 year ago
dirkf
4e115e18cb
[workflows/ci.yml] Run apt-get update before installing
1 year ago
ReenigneArcher
b7fca0fab3
[Youtube] Update consent cookie handling to match site
...
Apologies for force push!
[skip ci]
1 year ago
dirkf
00ef748cc0
[downloader] Fix baa6c5e: show ETA of http download as ETA instead of total d/l time
1 year ago
dirkf
66ab0814c4
[utils] Revert bbd3e7e
, updating docstring, test instead
1 year ago
dirkf
bbd3e7e999
[utils] Properly handle list values in update_url()
...
An actual list value in a query update could have been treated
as a list of values because of the key:list parse_qs format.
1 year ago
dirkf
21caaf2380
[test] Remove redundancy from lambda expected value regex
1 year ago
dirkf
31f50c8194
[S4C] Add thumbnail extraction, extract series as playlist
...
Based on https://github.com/yt-dlp/yt-dlp/pull/7776 : thx ifan-t, bashonly
1 year ago
dirkf
7d58f0769a
[ci.yml] Improve conditions for nosetest installations
1 year ago
dirkf
86e3cf5e58
[S4C] Add extractor for Sianel Pedwar Cymru
...
* from https://github.com/yt-dlp/yt-dlp/pull/7730 , thx ifan-t, bashonly
1 year ago
dirkf
2efc8de4d2
[utils] Advertise optional supported `Content-Encoding`s
1 year ago
dirkf
e4178b5af3
[utils] Add and use `filter_dict()` from yt-dlp
1 year ago
dirkf
2d2a4bc832
[utils] Revise `isinstance()` tests (especially for str/unicode/bytes) to complete Linter fix
1 year ago
dirkf
7d965e6b65
[utils] Avoid comparing `type(var)`, etc, to pass new Linter rules
1 year ago
dirkf
abef53466d
[utils] Rework URL path munging for ., .. components
...
* move processing to YoutubeDLHandler
* also process `Location` header for redirect
* use tests from https://github.com/yt-dlp/yt-dlp/pull/7662
1 year ago
dirkf
e7926ae9f4
[utils] Rework decoding of `Content-Encoding`s
...
* support nested encodings
* support optional `br` encoding, if brotli package is installed
* support optional 'compress' encoding, if ncompress package is installed
* response `Content-Encoding` has only unprocessed encodings, or removed
* response `Content-Length` is decoded length (usable for filesize metadata)
* use zlib for both deflate and gzip decompression
* some elements taken from yt-dlp: thx especially coletdjnz
1 year ago
dirkf
87e578c9b8
[workflows/ci.yml] Update to setup-java@v3
...
* avoid Node 12 deprecation
1 year ago
dirkf
0861812d72
[build] Fix typo in `devscripts/fish-completion.py` (fix 2285605
)
1 year ago
dirkf
b870181229
[build] Extend use of `devscripts/utils`
1 year ago
dirkf
a25e9f3c84
[compat] Use `compat_open()`
1 year ago