dirkf
8d55e43949
Bring utils.py into the PR
...
Skip CI
7 months ago
Ori Avtalion
aaaf18a53f
[extractor/common] Fix crash in _report_ignoring_subs
7 months ago
dirkf
21792b88b7
[external/FFmpeg] Fix and improve --ffmpeg-location handling
...
* pass YoutubeDL (FileDownloader) to FFmpegPostProcessor constructor
* consolidate path search in FFmpegPostProcessor
* make availability of FFmpegFD depend on existence of FFmpegPostProcessor
* detect ffmpeg executable on instantiation of FFmpegFD
* resolves #32735
7 months ago
dirkf
d8f134a664
[downloader/external] Fix "Resource Warning" in downloader test
...
* add compat_subprocess_Popen context manager
* apply context manager in FFmpegFD._call_downloader()
7 months ago
dirkf
31a15a7c8d
[compat] Simplify/fix compat_html_parser_HTMLParseError
7 months ago
dirkf
19dc10b986
[utils] Apply compat_contextlib_suppress
7 months ago
dirkf
182f63e82a
[compat] Add compat_contextlib_suppress
...
with compat_contextlib_suppress(*Exceptions):
# code that fails silently for any of Exceptions
7 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
7 months ago
Zizheng Guo
a96a45b2cd
[Vimeo] Improve `config` extraction ( #32742 )
...
* update for more robust json parsing
8 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
8 months ago
dirkf
aef24d97e9
[Videa] Align with yt-dlp
8 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
8 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()
8 months ago
dirkf
7216fa2ac4
[InfoExtractor] Add `_search_json()`
...
* uses the error diagnostic to truncate the JSON string
* may be confused by non-C-Pythons
8 months ago
dirkf
acc383b9e3
[utils] Let int_or_none() accept a base, like int()
8 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>
8 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>
8 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
8 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.
8 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
9 months ago
dirkf
4416f82c80
[Vbox7IE] Sanitise ld+json containing unexpected characters
...
* based on PR #29680
* added hack to force invoking `transform_source`
* fixes #26218
9 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
9 months ago
dirkf
1fd8f802b8
[InfoExtractor] Correctly resolve BaseURL in DASH manifest
...
Specs:
* ISO/IEC 23009-1:2012 section 5.6
* RFC 3986 section 5.
9 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
9 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
9 months ago
dirkf
c58b655a9e
[InfoExtractor] Support DASH subtitle extraction (yt-dlp back-port)
9 months ago
dirkf
dc512e3a8a
[YouTube] Fix `like_count` extraction using `likeButtonViewModel`
...
* also fix various tests
* TODO: check against yt-dlp tests
9 months ago
dirkf
f8b0135850
[YouTube] Rework n-sig processing, realigning with yt-dlp
...
* apply n-sig before chunked fragments, fixes #32692
9 months ago
dirkf
640d39f03a
[InfoExtractor] Support some warning and `._downloader` shortcut methods from yt-dlp
9 months ago
dirkf
6651871416
[compat] Rework compat for `method` parameter of `compat_urllib_request.Request` constructor
...
* fixes #32573
* does not break `utils.HEADrequest` (eg)
9 months ago
mk-pmb
be008e657d
[core] Fix format string injection for metadata JSON filename message.
11 months 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>
11 months ago
dirkf
55a442adae
[Imgur] Overhaul extractor module ( #32612 )
...
Revise extractors for new API and page formats
11 months 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>
11 months ago
dirkf
427472351c
[utils] Make restricted filenames ignore characters in Unicode categories Mark, Other
...
Resolves #32629
11 months ago
dirkf
c6538ed323
[workflows/ci.yml] Use setup-python for now released Python 3.12
11 months ago
dirkf
8d227cb97b
[workflows/ci.yml] Actually use default values for push and pull_request
11 months ago
dirkf
4e115e18cb
[workflows/ci.yml] Run apt-get update before installing
11 months ago
ReenigneArcher
b7fca0fab3
[Youtube] Update consent cookie handling to match site
...
Apologies for force push!
[skip ci]
11 months 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