dirkf
21924742f7
[InfoExtractor] Misc yt-dlp back-ports, etc
...
* add _yes_playlist() method
* avoid crash using _NETRC_MACHINE
* use _search_json() in _search_nextjs_data()
* _search_nextjs_data() default is JSON, not text
* test for above
1 year ago
dirkf
768ccccd9b
[compat] Avoid type comparison in `compat_ord`
...
NB This isn't actually a compat fn; it should be utils.int_from_int_or_char
1 year ago
dirkf
eee9a247eb
[utils] Split out traversal.py dummy and traversal tests
1 year ago
dirkf
34484e49f5
[compat] Improve compat_etree_iterfind for Py2.6
...
Adapted from https://raw.githubusercontent.com/python/cpython/2.7/Lib/xml/etree/ElementPath.py
1 year ago
dirkf
06da64ee51
[utils] Update traverse_obj() from yt-dlp
...
* remove `is_user_input` option per https://github.com/yt-dlp/yt-dlp/pull/8673
* support traversal of compat_xml_etree_ElementTree_Element per https://github.com/yt-dlp/yt-dlp/pull/8911
* allow un/branching using all and any per https://github.com/yt-dlp/yt-dlp/pull/9571
* support traversal of compat_cookies.Morsel and multiple types in `set()` keys per https://github.com/yt-dlp/yt-dlp/pull/9577
thx Grub4k for these
* also, move traversal tests to a separate class
* allow for unordered dicts in tests for Py<3.7
1 year ago
dirkf
668332b973
[YouPorn] Add playlist extractors
...
* YouPornCategoryIE
* YouPornChannelIE
* YouPornCollectionIE
* YouPornStarIE
* YouPornTagIE
* YouPornVideosIE,
1 year ago
dirkf
0b2ce3685e
[YouPorn] Improve extraction
...
* detect unwatchable videos
* improve duration extraction
* fix count extraction and support large values
* detect and remove SEO spam boilerplate description
1 year ago
dirkf
eb38665438
[YouPorn] Incorporate yt-dlp PR 8827
...
* from https://github.com/yt-dlp/yt-dlp/pull/8827
* extract from webpage instead of broken API URL
* thx The-MAGI
1 year ago
dirkf
e0727e4ab6
[postprocessor/ffmpeg] Fix finding ffprobe (bug in 21792b8
)
...
Fixes 21792b88b7 (commitcomment-140705274)
, thx: vonProteus
1 year ago
Ori Avtalion
4ea59c6107
[utils] Fix crash in _report_ignoring_subs from c58b655
( #32762 )
...
Align `utils.bug_reports_message()` with yt-dlp https://github.com/yt-dlp/yt-dlp/commit/5873d4ccdd , thanks fstirlitz
---------
Co-authored-by: dirkf <fieldhouse@gmx.net>
1 year 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
1 year ago
dirkf
d8f134a664
[downloader/external] Fix "Resource Warning" in downloader test
...
* add compat_subprocess_Popen context manager
* apply context manager in FFmpegFD._call_downloader()
1 year ago
dirkf
31a15a7c8d
[compat] Simplify/fix compat_html_parser_HTMLParseError
1 year ago
dirkf
19dc10b986
[utils] Apply compat_contextlib_suppress
1 year ago
dirkf
182f63e82a
[compat] Add compat_contextlib_suppress
...
with compat_contextlib_suppress(*Exceptions):
# code that fails silently for any of Exceptions
1 year 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
1 year ago
Zizheng Guo
a96a45b2cd
[Vimeo] Improve `config` extraction ( #32742 )
...
* update for more robust json parsing
1 year 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
1 year ago
dirkf
aef24d97e9
[Videa] Align with yt-dlp
1 year 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
1 year 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()
1 year ago
dirkf
7216fa2ac4
[InfoExtractor] Add `_search_json()`
...
* uses the error diagnostic to truncate the JSON string
* may be confused by non-C-Pythons
1 year ago
dirkf
acc383b9e3
[utils] Let int_or_none() accept a base, like int()
1 year 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>
1 year 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>
1 year 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
1 year 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.
1 year 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
1 year ago
dirkf
4416f82c80
[Vbox7IE] Sanitise ld+json containing unexpected characters
...
* based on PR #29680
* added hack to force invoking `transform_source`
* fixes #26218
2 years 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
2 years ago
dirkf
1fd8f802b8
[InfoExtractor] Correctly resolve BaseURL in DASH manifest
...
Specs:
* ISO/IEC 23009-1:2012 section 5.6
* RFC 3986 section 5.
2 years 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
2 years 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
2 years ago
dirkf
c58b655a9e
[InfoExtractor] Support DASH subtitle extraction (yt-dlp back-port)
2 years ago
dirkf
dc512e3a8a
[YouTube] Fix `like_count` extraction using `likeButtonViewModel`
...
* also fix various tests
* TODO: check against yt-dlp tests
2 years ago
dirkf
f8b0135850
[YouTube] Rework n-sig processing, realigning with yt-dlp
...
* apply n-sig before chunked fragments, fixes #32692
2 years ago
dirkf
640d39f03a
[InfoExtractor] Support some warning and `._downloader` shortcut methods from yt-dlp
2 years ago
dirkf
6651871416
[compat] Rework compat for `method` parameter of `compat_urllib_request.Request` constructor
...
* fixes #32573
* does not break `utils.HEADrequest` (eg)
2 years ago
mk-pmb
be008e657d
[core] Fix format string injection for metadata JSON filename message.
2 years 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>
2 years ago
dirkf
55a442adae
[Imgur] Overhaul extractor module ( #32612 )
...
Revise extractors for new API and page formats
2 years 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>
2 years ago
dirkf
427472351c
[utils] Make restricted filenames ignore characters in Unicode categories Mark, Other
...
Resolves #32629
2 years ago
ReenigneArcher
b7fca0fab3
[Youtube] Update consent cookie handling to match site
...
Apologies for force push!
[skip ci]
2 years ago
dirkf
00ef748cc0
[downloader] Fix baa6c5e: show ETA of http download as ETA instead of total d/l time
2 years ago
dirkf
66ab0814c4
[utils] Revert bbd3e7e
, updating docstring, test instead
2 years 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.
2 years 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
2 years ago
dirkf
86e3cf5e58
[S4C] Add extractor for Sianel Pedwar Cymru
...
* from https://github.com/yt-dlp/yt-dlp/pull/7730 , thx ifan-t, bashonly
2 years ago
dirkf
2efc8de4d2
[utils] Advertise optional supported `Content-Encoding`s
2 years ago
dirkf
e4178b5af3
[utils] Add and use `filter_dict()` from yt-dlp
2 years ago
dirkf
2d2a4bc832
[utils] Revise `isinstance()` tests (especially for str/unicode/bytes) to complete Linter fix
2 years ago
dirkf
7d965e6b65
[utils] Avoid comparing `type(var)`, etc, to pass new Linter rules
2 years 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
2 years 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
2 years ago
dirkf
b870181229
[build] Extend use of `devscripts/utils`
2 years ago
dirkf
a25e9f3c84
[compat] Use `compat_open()`
2 years ago
dirkf
2b7dd3b2a2
[utils] Fix update_Request() with empty data (not None)
2 years ago
dirkf
7bce2ad441
[build] Fix various Jython CI and test issues
2 years ago
dirkf
1fa8b86f0b
[utils] Remove stray undocumented Host header in redirect (fix 46fde7c
)
2 years ago
dirkf
b2ba24bb02
[InfoExtractor] Add `_match_valid_url()` class method and refactor
...
* API compatible with yt-dlp
* also support Sequence of patterns in _VALID_URL
* one place to compile _VALID_URL
* TODO: remove existing extractor shims
2 years ago
dirkf
a190b55964
[utils] Fix broken Py 3.11+ compat in `traverse_obj()`
...
* inspect.getargspec is missing despite doc claiming backward compat
* replace with emulation of `Signature.bind()`
2 years ago
dirkf
b2741f2654
[InfoExtractor] Add search methods for Next/Nuxt.js from yt-dlp
...
* add _search_nextjs_data(), from https://github.com/yt-dlp/yt-dlp/pull/1386
thanks selfisekai
* add _search_nuxt_data(), from https://github.com/yt-dlp/yt-dlp/pull/1921 ,
thanks Lesmiscore, pukkandan
* add tests for the above
* also fix HTML5 type recognition and tests, from
222a230871
,
thanks Lesmiscore
* update extractors in PR using above, fix tests.
2 years ago
dirkf
8465222041
[Clipchamp] Add new extractor back-ported from yt-dlp
2 years ago
dirkf
4339910df3
[DLF] Add site extractors back-ported from yt-dlp
...
* from https://github.com/yt-dlp/yt-dlp/pull/6697 , thanks nick-cd
2 years ago
dirkf
eaaf4c6736
[Whyp] Add extractor back-ported from yt-dlp
...
* from https://github.com/yt-dlp/yt-dlp/pull/6803 , thanks CoryTibbettsDev
2 years ago
dirkf
4566e6e53e
[GlobalPlayer] Add site extractors back-ported from yt-dlp
...
* from https://github.com/yt-dlp/yt-dlp/pull/6903 , thanks garret1317
2 years ago
dirkf
1e8ccdd2eb
[InfoExtractor] Support groups in _`search_regex()`, etc
2 years ago
dirkf
cb9366eda5
[utils] Minor updates (merge_dicts, T)
...
A couple of mods to ease yt-dlp back-ports:
* add kwargs to merge_dicts:
`unblank=True` (disallow empty string), `rev=False` (reverse the merge list)
* add `T(x)` shortcut for `{x}`, unsupported in Py2.6
2 years ago
dirkf
d9d07a9581
[utils] Improve js_to_json, align with yt-dlp
...
* support variable substitution, from https://github.com/yt-dlp/yt-dlp/pull/#521 etc,
thanks ChillingPepper, Grub4k, pukkandan
* improve escape handling, from https://github.com/yt-dlp/yt-dlp/pull/#521
thanks Grub4k
* support template strings from https://github.com/yt-dlp/yt-dlp/pull/6623
thanks Grub4k
* add limited `!` evaluation (eg, !!0 -> false, see tests)
2 years ago
dirkf
825a40744b
[utils] Align traverse_obj() with yt-dlp
...
Thanks Grub4k for these:
* traverse `Iterable`s, from https://github.com/yt-dlp/yt-dlp/pull/6902 , etc
* traverse `set` key for transformations/filters, `re.Match` group names, from
776995bc10
, etc
* traverse `re.Match`es, from https://github.com/yt-dlp/yt-dlp/pull/5174
* always return list when branching, from https://github.com/yt-dlp/yt-dlp/pull/5170
2 years ago
dirkf
47214e46d8
[compat] Fix old Pythons broken loading of valueless cookie attributes
...
Cookie string parsing in Py 2.6.9, probably earlier, requires `=`.
Also 3.2, though the CPython code appears to be OK: 3.1 was also wrong.
2 years ago
dirkf
1d8d5a93f7
[test] Fixes for old Pythons
2 years ago
dirkf
1634b1d61e
[doc] Warn against setting cookies with --add-header
2 years ago
bashonly
21438a4194
[downloader/external] Fix cookie support
2 years ago
Simon Sawicki
8334ec961b
[core] Process header cookies on loading
2 years ago
bashonly
3801d36416
[utils] `YoutubeDLCookieJar`: Add `get_cookie_header` and `get_cookies_for_url` methods
2 years ago
dirkf
b383be9887
[core] Remove `Cookie` header on redirect to prevent leaks
...
Adated from yt-dlp/yt-dlp-ghsa-v8mc-9377-rwjj/pull/1/commits/101caac
Thx coletdjnz
2 years ago
dirkf
46fde7caee
[core] Update redirect handling from yt-dlp
...
* Thx coletdjnz: https://github.com/yt-dlp/yt-dlp/pull/7094
* add test that redirected `POST` loses its `Content-Type`
2 years ago
dirkf
648dc5304c
[compat] Add Request and HTTPClient compat for redirect
...
* support `method` parameter of `Request.__init__` (Py 2 and old Py 3)
* support `getcode` method of compat_http_client.HTTPResponse (Py 2)
2 years ago
dirkf
d5ef405c5d
[core] Align error reporting methods with yt-dlp
2 years ago
dirkf
f47fdb9564
[utils] Add {expected_type} and Iterable support to traverse_obj()
2 years ago
dirkf
b6dff4073d
[core] Revert version display from b8a86dc
2 years ago
dirkf
f24bc9272e
[Misc] Fixes for 2.6 compatibility
2 years ago
dirkf
2500300c2a
[workflows/ci.yml] Restore test support for Py 3.2
2 years ago
dirkf
fa7f0effbe
[YouTube] Avoid crash in author extraction
2 years ago
pukkandan
9112e668a5
[YouTube] Improve nsig function name extraction
...
Fixes player b7910ca8, using `,` vs `;`
See https://github.com/ytdl-org/youtube-dl/issues/32292#issuecomment-1602231170
Co-authored-by: dirkf
2 years ago
dirkf
07af47960f
[YouTube] Improve fix for ae8ba2c
...
Thx: https://github.com/yt-dlp/yt-dlp/commit/01aba25
2 years ago
dirkf
ae8ba2c319
[YouTube] Fix `KeyError QV` in signature extraction failed
...
* temporarily force missing global definition into sig JS
* improve test: thanks https://github.com/yt-dlp/yt-dlp/issues/7327#issuecomment-1595274615
* resolves #32314
2 years ago
dirkf
d6433cbb2c
[jsinterp] Don't find unrelated objects
2 years ago
dirkf
ff75c300f5
[jsinterp] Fix test for failed match in extract_object()
2 years ago
dirkf
a2534f7b88
[jsinterp] Fix div bug breaking player 8c7583ff
...
Thx bashonly: https://github.com/ytdl-org/youtube-dl/issues/32292#issuecomment-1585639223
Fixes #32292
2 years ago
dirkf
b8a86dcf1a
[core] Revise 1f7c6f8
to help downstream merger (possibly)
2 years ago
dirkf
2389c7cbd3
[compat] Fix casefold import __all__ syntax in a19855f
2 years ago
dirkf
ee731f3d00
[ITV] Fix UA capitalisation in 384f632
2 years ago
dirkf
1f7c6f8b2b
[core] Further improve platform debug log
...
* see d1c6c5c
2 years ago
dirkf
d89c2137ba
[jsinterp] Small updates for a85a875
...
* update signature tests
* clarify NaN handling
2 years ago
dirkf
d1c6c5c4d6
[core] Improve platform debug log, based on yt-dlp
2 years ago
dirkf
6ed3433828
[jsinterp] Add short-cut evaluation for common expression
...
* special handling for (d%e.length+e.length)%e.length speeds up ~6%
2 years ago
dirkf
a85a875fef
[jsinterp] Handle NaN in bitwise operators
...
* also add _NaN
* also pull function naming from yt-dlp
2 years ago
dirkf
11cc3f3ad0
[utils] Fix `compiled_regex_type` in 249f2b6
2 years ago
dirkf
64d6dd64c8
[YouTube] Support Releases tab
2 years ago
dirkf
211cbfd5d4
[jsinterp] Minimally handle arithmetic operator precedence
...
Resolves #32066
2 years ago
dirkf
26035bde46
[DashSegmentsFD] Correctly detect errors when `fragment_retries` == 0
...
* use the success flag instead of the retry count
* establish the fragment_url outside the retry loop
* only report skipping a fragment once.
* resolves #32033
2 years ago
dirkf
2da3fa04a6
[YouTube] Simplify signature patterns
2 years ago
Gabriel Nagy
735e87adfc
[core] Sanitize info dict before dumping JSON (fixes fe7e130
) ( #32032 )
...
* follow up to fe7e130
which didn't fix everything.
Co-authored-by: dirkf <fieldhouse@gmx.net>
2 years ago
dirkf
fe7e13066c
[core] Add and use sanitize_info() method from yt-dlp
2 years ago
dirkf
213d1d91bf
[core] No longer importing copy
2 years ago
dirkf
f8253a5289
[core] Avoid deepcopy of ctx dict (fix f35b757
) (Pt 2)
2 years ago
dirkf
d6ae3b77cd
[core] Avoid deepcopy of ctx dict (fix f35b757
)
...
* may now contain `LazyList`s
* resolves #31999
2 years ago
dirkf
9f4d83ff42
[options] Add --mtime option, unsets default --no-mtime
...
* resolves #1709 (!)
2 years ago
dirkf
25124bd640
[devscripts] Improve hack to convert command-line options to API options
...
* define equality for DateRange
* don't show default DateRange
2 years ago
dirkf
78da22489b
[compat] Add and use `compat_open()` like Py3 `open()`
...
* resolves FIXME: ytdl-org/youtube-dl/commit/dfe5fa4
2 years ago
dirkf
557dbac173
[FragmentFD] Fix iteration with infinite limit
...
* fixes ytdl-org/youtube-dl/baa6c5e
* resolves #31885
2 years ago
pukkandan
3f6d2bd76f
[extractor/youtube] Bypass throttling for `-f17`
...
and related cleanup
Thanks @AudricV for the finding
Ref: yt-dlp/yt-dlp/commit/c9abebb
2 years ago
pukkandan
88f28f620b
[extractor/youtube] Construct fragment list lazily
...
Ref: yt-dlp/yt-dlp/commit/e389d17
See: yt-dlp/yt-dlp#6517
2 years ago
dirkf
f35b757c82
[utils] Ensure `allow_types` for `variadic()` is a tuple
2 years ago
dirkf
45495228b7
[downloader/http] Only check for resumability when actually resuming
2 years ago
dirkf
6fece0a96b
[AENetworksBaseIE] Report missing show data instead of crash
2 years ago
dirkf
e8de54bce5
[core] Handle `/../` sequences in HTTP URLs
...
* use Python's RFC implementation for embedded sequences
* hack: strip unbalanced leading `../` from path, like eg Firefox
See https://github.com/yt-dlp/yt-dlp/issues/3355
2 years ago
dirkf
baa6c5e95c
[FragmentFD] Respect `--no-continue`
...
* discard partial fragment on `--no-continue`
* continue with correct progress display otherwise
Resolves #21467
2 years ago
dirkf
5c985d4f81
[downloader] Let _ffmpeg_ handle DASH segments
...
Fixes https://github.com/ytdl-org/youtube-dl/issues/31792 after 3da1783
.
2 years ago
dirkf
0402710227
[jsinterp] Fix regexp parsing and .replace[All] method
...
* For performance, make regexp object instantiation lazy
* Other small performance improvements
2 years ago
pukkandan
3e92c60fcd
[jsinterp] Handle `Date` at epoch 0
...
See yt-dlp/yt_dlp#6400
2 years ago
pukkandan
3da17834a4
[Youtube] Construct dash formats with `range` query
...
See yt-dlp/yt_dlp#6369
2 years ago
dirkf
f7ce98a21e
[YouTube] Support @owner format in uploader_id etc
...
* implement https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435734719
* update affected tests
* misc clean-ups
2 years ago
pukkandan
1d3751c3fe
Escape URLs in `sanitized_Request`, not `sanitize_url` d2558234cf5dd12d6896eed5427b7dcdb3ab7b5a added escaping of URLs while sanitizing. However, `sanitize_url` may not always receive an actual URL. Eg: When using `youtube-dl "search query" --default-search ytsearch`, `search query` gets escaped to `search%20query` before being prefixed with `ytsearch:` which is not the intended behavior. So the escaping is moved to `sanitized_Request` instead.
2 years ago
df
6067451e43
[Vimeo] Fix e19ec52
for tween-age Pythons
...
* a check in older Pythons in the 2.7 and earlier, 3.3, 3.4 series caused "sre_constants.error: nothing to repeat"
* satisfy the check by avoiding nested qualifiers that can match empty string
Resolves #31597
2 years ago
dirkf
57802e632f
[jsinterp] Fix dict comprehension for Py2.6
...
Resolves #31600
2 years ago
dirkf
2dd6c6edd8
[YouTube] Avoid crash if uploader_id extraction fails
...
See #31530 .
2 years ago
dirkf
42b098dd79
[InfoExtractor] Handle unquoted values in OpenGraph searches
2 years ago
fonkap
6f8c2635a5
[StreamsbIE] Add extractor for streamsb.com (viewsb.com) ( #31517 )
...
* Add extractor for streamsb.com (viewsb.com)
* make data url using app.js version
---------
Co-authored-by: dirkf <fieldhouse@gmx.net>
2 years ago
fonkap
de48105dd8
[KommunetvIE] Add extractor for kommunetv.no ( #31516 )
...
* Add extractor for kommunetv.no
* Using utils.update_url instead of regex
---------
Co-authored-by: dirkf <fieldhouse@gmx.net>
2 years ago
fonkap
822f19f05d
[FileMoonIE] Add extractor for filemoon.sx ( #31515 )
...
---------
Co-authored-by: dirkf <fieldhouse@gmx.net>
2 years ago
teddy171
33db85c571
[feat]: Add support to external downloader aria2p ( #31500 )
...
* feat: add class Aria2pFD
* feat: create call_downloader function
* feat: a colorful download interface to aria2pFD
* feat: change value name
* Apply suggestions from code review
Co-authored-by: dirkf <fieldhouse@gmx.net>
* Typo in suggestion
* fix: remove unused value
* fix: add not function to return value(0 is normal); add total_seconds to download.eta(timedelta object); add waiting status when hook progress
* fix: remove unuse method ..utils.format_bytes
* fix: be up to flake8
* fix: be up to flake8
* Apply suggestions from code review
* [feat] test external downloader aria2p
* [feat] test external downloader aria2p
* [fix] test_external_downloader.py
* Apply suggestions from code review
Co-authored-by: dirkf <fieldhouse@gmx.net>
* Apply suggestions from code review
Co-authored-by: dirkf <fieldhouse@gmx.net>
* Update test/test_external_downloader.py
Co-authored-by: dirkf <fieldhouse@gmx.net>
* Update test/test_external_downloader.py
Co-authored-by: dirkf <fieldhouse@gmx.net>
* Update youtube_dl/downloader/external.py
Co-authored-by: dirkf <fieldhouse@gmx.net>
* refactoring code and fix bugs
* Apply suggestions from code review
* Rename test_external_downloader.py to test_downloader_external.py
---------
Co-authored-by: dirkf <fieldhouse@gmx.net>
2 years ago
Valentin Metz
f33923cba7
[rbgtum] Add new extractor ( #31305 )
...
* [rbgtum] Add new extractor
* Small update, force CI
---------
Co-authored-by: dirkf <fieldhouse@gmx.net>
2 years ago
dirkf
e8198c517b
[YouTube] Fix tests
2 years ago
dirkf
bafb6dec72
[YouTube] Refresh compat/utils usage
...
* import parse_qs()
* import parse_qs in lazy_extractors (clears old TODO)
* clean up old compiled lazy_extractors for Py2
* use update_url()
2 years ago
dirkf
90c9f789d9
[utils] Add parse_qs, update_url
...
[skip ci]
2 years ago
dirkf
249f2b6316
[compat] Systematise compat_ naming
...
[skip ci]
2 years ago
dirkf
30e986b834
[YouTube] Add `signatureTimestamp` for age-gate bypass
2 years ago
dirkf
58988c1421
[YouTube] Bypass age-gating for certain restricted videos
...
* Use TVHTML5_SIMPLY_EMBEDDED_PLAYER client
* Also add and fix tests
* Introduce and use new utility function `update_url()`
2 years ago
dirkf
e19ec52322
[Vimeo] Support /user{video_id}/{slug} URL format
3 years ago
dirkf
f2f90887ca
[Vimeo] Fix `Unable to extract info section` redux
...
* as reported in yt-dlp/yt-dlp#6149
* also allow newline in target JSON object
3 years ago
dirkf
cd987e6fca
[jsinterp] Nits
3 years ago
dirkf
d947ffe8e3
[IGN] Overhaul extractor to avoid URL redirection loop
...
Consequently/also:
* centralise video data extraction
* detect 404 and 503 expected errors
* handle the test video in IGNVideo
* handle two additional page formats for the tests in IGNArticle
3 years ago
dirkf
384f632e8a
[ITV] Overhaul ITV extractor ( #30266 )
...
* support ITVX URLs (thanks Vangelis66)
* support legacy ITV Hub URLs
* include extraction fix 4c57dd2
from sleaux-meaux 3 May 2021
* include extraction fix 6fbcc16, fix by staubichsauger & pukkandan
* work-around duration parsing pending fix to utils.parse_duration
* apply default vanilla UA for pages and media to avoid site blocking
* also detect and report `Episode not found` instead of generic 404
* rework ITVBTCCIE with geo-block detection, best effort geo-restriction handling, news article support
* fix tests
3 years ago
dirkf
9d17948b5a
[myvideoge] Add new extractor ( #31360 )
...
NB download tests on CI servers blocked
Co-authored-by: Alfonso Solbes <fonk666@gmail.com>
3 years ago
afterdelight
f316f5d4e3
[xhamster] add support for new domain xhvid.com ( #31370 )
3 years ago
dirkf
bc6f94e459
[FIFA] Back-port extractor from yt-dlp ( #31385 )
3 years ago