youtube-dl
20 months ago[cammodels] fix and improve extractor (#31453)
JChris246 [Thu, 2 Feb 2023 17:12:36 +0000 (13:12 -0400)]
[cammodels] fix and improve extractor (#31453)

Co-authored-by: dirkf <fieldhouse@gmx.net>
20 months ago[doc] Fixed typo appearing to promise an example (#31489)
Rodrigo Dias [Thu, 2 Feb 2023 17:10:09 +0000 (17:10 +0000)]
[doc] Fixed typo appearing to promise an example (#31489)

Resolves #31425

Co-authored-by: dirkf <fieldhouse@gmx.net>
20 months ago[americastestkitchen] Add support for downloading entire series (#31493)
Brian Marks [Thu, 2 Feb 2023 16:58:21 +0000 (11:58 -0500)]
[americastestkitchen] Add support for downloading entire series (#31493)

Also
* support new sites and URL patterns
* back-port from yt-dlp

Co-authored-by: dirkf <fieldhouse@gmx.net>
20 months ago[jsinterp] Improve parsing
dirkf [Thu, 2 Feb 2023 14:28:32 +0000 (14:28 +0000)]
[jsinterp] Improve parsing
* support subset `... else if ...`
* support `while`
* add `RegExp` class
* generalise `new` support
* limited more debug strings
* matching test changes

20 months agoSupport `if` statements
pukkandan [Wed, 1 Feb 2023 04:09:49 +0000 (09:39 +0530)]
Support `if` statements

Fix for yt-dlp/yt_dlp#6131
Closes #31509

23 months ago[generic] Improve KVS (etc) extraction
dirkf [Sun, 13 Nov 2022 15:09:29 +0000 (15:09 +0000)]
[generic] Improve KVS (etc) extraction

23 months ago[generic] Improve KVS (etc) extraction
dirkf [Sun, 13 Nov 2022 14:59:30 +0000 (14:59 +0000)]
[generic] Improve KVS (etc) extraction

* detect kt_player('kt_player', 'https://.../kt_player.swf?v=5...
* detect age limit if 18 USC 2257 is mentioned
* test with shooshtime.com

Partially resolves #31332.

23 months agoAdded ThisVid.com support (#29187)
FraFraFra-LongD [Sun, 13 Nov 2022 13:22:04 +0000 (14:22 +0100)]
Added ThisVid.com support (#29187)

* add ThisVidIE, ThisVidMemberIE, ThisVidPlaylistIE
* redirect embed to main page for more metadata
* use KVS extraction newly added to GenericIE and remove duplicate tests
* also add MrDeepFake etc compat to GenericIE
(closes #22390)

Co-authored-by: dirkf <fieldhouse@gmx.net>
23 months ago[generic] Add KVS player extraction
dirkf [Sat, 12 Nov 2022 11:55:05 +0000 (11:55 +0000)]
[generic] Add KVS player extraction

23 months ago[common:jwplayer] Improve jwplayer extraction and parsing (#31000)
dirkf [Fri, 11 Nov 2022 00:49:13 +0000 (00:49 +0000)]
[common:jwplayer] Improve jwplayer extraction and parsing (#31000)

* don't crash parser if jwplayer_data is invalid (empty, or no formats)
* use `label` in `sources[n]` as `format_id`
* relax `jwplayer().setup(...)` RE (also rework PR #27274 enhancement)
* detect more manifest formats in _parse_jwplayer_formats() (from PR #29596)
* improve metadata extraction (from PR #25433)
* remember URLs in a set
* use parse_resolution() in format
* extract filesize in format (from yt-dlp)

Co-authored-by: kikuyan <kikuyan@users.noreply.github.com>
Co-authored-by: martin54 <martin54@users.noreply.github.com>
23 months ago[PeekVids, PlayVids] Add new extractor (#29765)
Moises Lima [Wed, 9 Nov 2022 20:26:30 +0000 (17:26 -0300)]
[PeekVids, PlayVids] Add new extractor (#29765)

* Merge back-port from yt-dlp
* Merge features from PR #29798
* Improve metadata extraction

Co-authored-by: dirkf <fieldhouse@gmx.net>
Co-authored by: AXDOOMER

23 months ago[extractor/ceskatelevize] Back-port extractor from yt-dlp, etc (#30713)
dirkf [Fri, 4 Nov 2022 10:13:07 +0000 (10:13 +0000)]
[extractor/ceskatelevize] Back-port extractor from yt-dlp, etc (#30713)

* back-port extractor, removing CeskaTelevizePoradyIE
* follow redirect URL
* support liveBroadcast and videobonusDetail in __NEXT__ data
* return single video for singleton playlist
* fix/add tests

23 months ago[utils] Backport traverse_obj (etc) from yt-dlp (#31156)
Andrei Lebedev [Thu, 3 Nov 2022 10:09:37 +0000 (11:09 +0100)]
[utils] Backport traverse_obj (etc) from yt-dlp (#31156)

* Backport traverse_obj and closely related function from yt-dlp (code by pukkandan)
* Backport LazyList, variadic(), try_call (code by pukkandan)
* Recast using yt-dlp's newer traverse_obj() implementation and tests (code by grub4k)
* Add tests for Unicode case folding support matching Py3.5+ (requires f102e3d)
* Improve/add tests for variadic, try_call, join_nonempty

Co-authored-by: dirkf <fieldhouse@gmx.net>
23 months ago[compat] Work around in case folding for narrow Python build
dirkf [Wed, 2 Nov 2022 11:56:26 +0000 (11:56 +0000)]
[compat] Work around in case folding for narrow Python build

Resolves #31324.

23 months ago[compat] Add test for compat_casefold()
dirkf [Tue, 1 Nov 2022 22:47:02 +0000 (22:47 +0000)]
[compat] Add test for compat_casefold()

23 months ago[compat] Add test for compat_casefold()
dirkf [Tue, 1 Nov 2022 21:33:39 +0000 (21:33 +0000)]
[compat] Add test for compat_casefold()

23 months ago[compat] Reformat casefold.py for easier updating
dirkf [Tue, 1 Nov 2022 19:25:59 +0000 (19:25 +0000)]
[compat] Reformat casefold.py for easier updating

23 months ago[compat] Unify unicode/str compat and move up
dirkf [Tue, 1 Nov 2022 12:40:23 +0000 (12:40 +0000)]
[compat] Unify unicode/str compat and move up

23 months ago[compat] Add compat_casefold and compat_re_Match, for traverse_obj() port
dirkf [Mon, 31 Oct 2022 21:27:14 +0000 (21:27 +0000)]
[compat] Add compat_casefold and compat_re_Match, for traverse_obj() port

23 months ago[compat] Add Python 2 Unicode casefold using a trivial wrapper around icu/CaseFolding.txt
dirkf [Mon, 31 Oct 2022 21:18:36 +0000 (21:18 +0000)]
[compat] Add Python 2 Unicode casefold using a trivial wrapper around icu/CaseFolding.txt

23 months ago[netease] Support urls shared from mobile app (#31304)
Xie Yanbo [Sun, 30 Oct 2022 11:48:44 +0000 (19:48 +0800)]
[netease] Support urls shared from mobile app (#31304)

Co-authored-by: dirkf <fieldhouse@gmx.net>
23 months ago[netease] Impove error handling (#31303)
Xie Yanbo [Sun, 30 Oct 2022 11:46:46 +0000 (19:46 +0800)]
[netease] Impove error handling (#31303)

* add warnings for users outside of China
* skip empty song urls

Co-authored-by: dirkf <fieldhouse@gmx.net>
23 months ago[Vimeo] Update variable name in hydration JSON pattern
dirkf [Thu, 27 Oct 2022 14:33:00 +0000 (14:33 +0000)]
[Vimeo] Update variable name in hydration JSON pattern

Fixes #31311

23 months ago[BongaCams] Support new .net domain
dirkf [Thu, 20 Oct 2022 11:06:44 +0000 (11:06 +0000)]
[BongaCams] Support new .net domain

Resolves #31262.

23 months agoFix ADN extractor (#31275)
ache [Tue, 18 Oct 2022 15:06:27 +0000 (15:06 +0000)]
Fix ADN extractor (#31275)

* Rename Anime Digital Network to Animation Digital Network, animationdigitalnetwork.fr
* Update the test to an available video
* Update the decoding key of subtitles
* Keep the support of old URLs
* Add a test to match the old URL
* Reduce redundancy of the URL name
* Fix md5 ^^"
* Fix undefined _BASE
* Process HTTP error text (eg geo-block) correctly and uniformly in Py3, Py2
* Skip test for CI since geo-blocked

Signed-off-by: ache <ache@ache.one>
Co-authored-by: dirkf <fieldhouse@gmx.net>
2 years ago[ManyVids] Support new single-page app structure
dirkf [Thu, 13 Oct 2022 02:42:49 +0000 (02:42 +0000)]
[ManyVids] Support new single-page app structure

2 years ago[ManyVids] Support new single-page app structure
dirkf [Thu, 13 Oct 2022 01:59:01 +0000 (01:59 +0000)]
[ManyVids] Support new single-page app structure

See https://github.com/yt-dlp/yt-dlp/issues/5210#issuecomment-1276919962.

2 years ago[Motherless] Pull from yt-dlp, etc
dirkf [Wed, 12 Oct 2022 00:09:55 +0000 (01:09 +0100)]
[Motherless] Pull from yt-dlp, etc

* use username field
* loosen regexes
* warn on page count 0 in group
* avoid reloading group page 1
Closes #29626

2 years ago[netease] Get netease music download url through player api (#31235)
Xie Yanbo [Tue, 11 Oct 2022 12:55:09 +0000 (20:55 +0800)]
[netease] Get netease music download url through player api (#31235)

* remove unplayable song from test
* compatible with python 2
* using standard User_Agent, fix imports
* use hash instead of long description
* fix lint
* fix hash

2 years ago[Common:JWPlayer] Fix x1000 scaling error
dirkf [Tue, 11 Oct 2022 12:36:44 +0000 (12:36 +0000)]
[Common:JWPlayer] Fix x1000 scaling error

See https://github.com/yt-dlp/yt-dlp/issues/5106#issuecomment-1264625161

2 years ago[utils] Sanitize look-alike Unicode glyphs in non-ID filename fields when --restrict...
dirkf [Tue, 11 Oct 2022 12:18:12 +0000 (12:18 +0000)]
[utils] Sanitize look-alike Unicode glyphs in non-ID filename fields when --restrict-filenames

Implements https://github.com/ytdl-org/youtube-dl/issues/31216#issuecomment-1236102822, which has a test.

2 years ago[JSInterp] Improve separation logic
dirkf [Tue, 11 Oct 2022 04:58:10 +0000 (05:58 +0100)]
[JSInterp] Improve separation logic

Based on https://github.com/yt-dlp/yt-dlp/commit/0468a3b3253957bfbeb98b4a7c71542ff80e9e06

2 years ago[ZDF] Overhaul ZDF extractors
dirkf [Tue, 9 Aug 2022 18:37:58 +0000 (19:37 +0100)]
[ZDF] Overhaul ZDF extractors
* pull some yt-dlp changes into ZDFBaseIE._extract_format()
* add test cases from yt-dlp to ZDFIE
* fix crash in ZDFIE._extract_mobile() when object had no `formitaeten`
* improve title extraction in ZDFChannelIE (remove trailing station ident)
* avoid extracting non-video playlist items (fixes #31149)

2 years ago[test] Implement string "lambda x: condition(x)" as an expected value
dirkf [Tue, 9 Aug 2022 18:34:34 +0000 (19:34 +0100)]
[test] Implement string "lambda x: condition(x)" as an expected value

Semantics equivalent to `assert condition(got)`

2 years ago[motherless] Fixed the broken uploader_id in the extractor (#31243)
Xiyue [Mon, 10 Oct 2022 22:52:48 +0000 (09:52 +1100)]
[motherless] Fixed the broken uploader_id in the extractor (#31243)

* Fixed the broken uploader_id in the extractor.
* Make uploader_id RE looser
* Fix uploader_id in test Motherless_3
* Fix group pagination
* # coding: utf-8

Co-authored-by: Andy Xuming <xuminic@gmail.com>
Co-authored-by: dirkf <fieldhouse@gmx.net>
2 years ago[manyvids] Improve extraction (#31172)
dirkf [Mon, 10 Oct 2022 18:26:32 +0000 (19:26 +0100)]
[manyvids] Improve extraction (#31172)

* extract all formats from page
* extract description, uploader, views, likes
* downrate previews
* fix tests
* use txt_or_none()

2 years ago[NRK] Remove explicit Accept-Encoding header that invites Brotli
dirkf [Mon, 10 Oct 2022 17:41:40 +0000 (17:41 +0000)]
[NRK] Remove explicit Accept-Encoding header that invites Brotli

Fixes #31285

2 years ago[Telegraaf] Use mobile GraphQL API endpoint
coletdjnz [Fri, 23 Sep 2022 00:10:35 +0000 (12:10 +1200)]
[Telegraaf] Use mobile GraphQL API endpoint

Workaround for Cloudflare 403
Fixes https://github.com/yt-dlp/yt-dlp/issues/5000
Authored by: coletdjnz

2 years ago[test] Use windows-2019 for tests
dirkf [Mon, 3 Oct 2022 23:42:15 +0000 (00:42 +0100)]
[test] Use windows-2019 for tests
(At least for now) resolves #31249

2 years ago[jsinterp] Workaround operator associativity issue
pukkandan [Fri, 2 Sep 2022 15:11:39 +0000 (20:41 +0530)]
[jsinterp] Workaround operator associativity issue
* temporary fix for player 5a3b6271 [1]

1. https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1235384480

2 years ago[cache] Add cache validation by program version, based on yt-dlp
dirkf [Thu, 1 Sep 2022 12:28:30 +0000 (13:28 +0100)]
[cache] Add cache validation by program version, based on yt-dlp

2 years ago[jsinterp] Handle new YT players 113ca41c, c57c113c
dirkf [Wed, 31 Aug 2022 22:22:48 +0000 (23:22 +0100)]
[jsinterp] Handle new YT players 113ca41cc57c113c
* add NaN
* allow any white-space character for `after_op`
* align with yt-dlp f26af78a8ac11d9d617ed31ea5282cfaa5bcbcfa (charcodeAt and bitwise overflow)
* allow escaping in regex, fixing player c57c113c

2 years ago[options] Document that postprocessing is not forced by --postprocessor-args
dirkf [Mon, 29 Aug 2022 12:02:17 +0000 (13:02 +0100)]
[options] Document that postprocessing is not forced by --postprocessor-args

Resolves #30307

2 years ago[compat] Replace deficient ChainMap class in Py3.3 and earlier
dirkf [Fri, 26 Aug 2022 11:22:01 +0000 (12:22 +0100)]
[compat] Replace deficient ChainMap class in Py3.3 and earlier
* fix version check

2 years ago[compat] Replace deficient ChainMap class in Py3.3 and earlier
dirkf [Fri, 26 Aug 2022 09:17:56 +0000 (10:17 +0100)]
[compat] Replace deficient ChainMap class in Py3.3 and earlier

2 years ago[jsinterp] Improve try/catch/finally support
dirkf [Fri, 26 Aug 2022 07:17:54 +0000 (08:17 +0100)]
[jsinterp] Improve try/catch/finally support

2 years ago[jsinterp] Fix bug in operator precedence
dirkf [Thu, 25 Aug 2022 11:16:10 +0000 (12:16 +0100)]
[jsinterp] Fix bug in operator precedence
* from https://github.com/yt-dlp/yt-dlp/commit/164b03c4864b0d44cfee5e7702f7c2317164a6cf
* added tests

2 years ago[YouTube] Improve error check for n-sig processing
dirkf [Thu, 25 Aug 2022 11:14:59 +0000 (12:14 +0100)]
[YouTube] Improve error check for n-sig processing

2 years ago[core] Avoid processing empty format list after removing bad formats
dirkf [Sat, 20 Aug 2022 23:21:02 +0000 (00:21 +0100)]
[core] Avoid processing empty format list after removing bad formats
* also ensure compat encoding of error strings

2 years ago[utils] Ensure RFC3986 encoding result is unicode
dirkf [Sat, 20 Aug 2022 23:19:19 +0000 (00:19 +0100)]
[utils] Ensure RFC3986 encoding result is unicode

2 years ago[infoq] Avoid crash if the page has no `mp3Form`
gudata [Fri, 19 Aug 2022 20:00:21 +0000 (23:00 +0300)]
[infoq] Avoid crash if the page has no `mp3Form`

* proposed fix for issue #31131, aligns with yt-dlp

Co-authored-by: dirkf <fieldhouse@gmx.net>
2 years ago[uktvplay] Support domain without .uktv
dirkf [Fri, 19 Aug 2022 18:11:08 +0000 (19:11 +0100)]
[uktvplay] Support domain without .uktv

2 years ago[jsinterp] Clean up and pull yt-dlp style
dirkf [Fri, 19 Aug 2022 14:34:33 +0000 (15:34 +0100)]
[jsinterp] Clean up and pull yt-dlp style
* add compat_re_Pattern
* improve compat_collections_chain_map
* use class JS_Undefined
* remove unused code

2 years ago[jsinterp] Handle regexp literals and throw/catch execution (#31182)
dirkf [Fri, 19 Aug 2022 10:45:04 +0000 (11:45 +0100)]
[jsinterp] Handle regexp literals and throw/catch execution (#31182)

* based on https://github.com/yt-dlp/yt-dlp/commit/f6ca640b122239d5ab215f8c2564efb7ac3e8c65, thanks pukkandan
* adds parse support for regexp flags

2 years ago[jsinterp] Improve JS language support (#31175)
dirkf [Wed, 17 Aug 2022 13:22:02 +0000 (14:22 +0100)]
[jsinterp] Improve JS language support (#31175)

* operator ??
* operator ?.
* operator **
* accurate operator functions
* `undefined` handling
* object literals {a: 1, "b": expr}
* more tests for weird JS comparisons: see https://github.com/ytdl-org/youtube-dl/issues/31173#issuecomment-1217854397.

2 years ago[postprocessor] Don't replace existing value with null metadata parsed from title
dirkf [Mon, 15 Aug 2022 15:45:04 +0000 (16:45 +0100)]
[postprocessor] Don't replace existing value with null metadata parsed from title

2 years ago[jsinterp] Overhaul JSInterp to handle new YT players 4c3f79c5, 324f67b9 (#31170)
dirkf [Sun, 14 Aug 2022 17:45:45 +0000 (18:45 +0100)]
[jsinterp] Overhaul JSInterp to handle new YT players 4c3f79c5324f67b9 (#31170)

* back-port from yt-dlp 8f53dc44a0cc1c2d98c35740b9293462c080f5d0, thanks pukkandan
* also support void, improve <</>> precedence, improve expressions in comma-list
* add more tests

2 years ago[core] Make `--max-downloads ...` stop immediately on reaching the limit
dirkf [Wed, 10 Aug 2022 14:37:59 +0000 (15:37 +0100)]
[core] Make `--max-downloads ...` stop immediately on reaching the limit

Based on and closes #26638.

2 years ago[test, etc] Improve download test logs; also clean up some new flake8 issues (#31153)
dirkf [Tue, 9 Aug 2022 20:05:00 +0000 (21:05 +0100)]
[test, etc] Improve download test logs; also clean up some new flake8 issues (#31153)

* [test] Identify testcase errors better
* [test] Identify download errors better
* [extractor/minds] Linter
* [extractor/aes] Linter

2 years ago[aenetworks] Update _THEPLATFORM_KEY and _THEPLATFORM_SECRET (#29749)
Wes [Sat, 30 Jul 2022 01:10:00 +0000 (20:10 -0500)]
[aenetworks] Update _THEPLATFORM_KEY and _THEPLATFORM_SECRET (#29749)

Fixes ytdl-org/youtube-dl#29300

2 years ago[VVVVID] Support video/dash types (#31060)
Kyraminol Endyeran [Mon, 11 Jul 2022 23:35:40 +0000 (01:35 +0200)]
[VVVVID] Support video/dash types (#31060)

Resolves #31030.

2 years ago[options] Improve be35e53 (--match-/reject-title parameter value)
dirkf [Sun, 3 Jul 2022 19:05:21 +0000 (20:05 +0100)]
[options] Improve be35e53 (--match-/reject-title parameter value)

Resolves #31064.

2 years ago[Mediaset] Support player version number in URL pattern
dirkf [Sun, 26 Jun 2022 13:18:33 +0000 (14:18 +0100)]
[Mediaset] Support player version number in URL pattern

Ref: https://github.com/yt-dlp/yt-dlp/issues/4141

2 years ago[NHK] Use new API URL
dirkf [Tue, 14 Jun 2022 18:45:34 +0000 (19:45 +0100)]
[NHK] Use new API URL

2 years ago[test] Fix linter for 3aa94d7945dfaa0e04acf2700ffe0e43b00db498
dirkf [Wed, 15 Jun 2022 17:26:54 +0000 (18:26 +0100)]
[test] Fix linter for 3aa94d7945dfaa0e04acf2700ffe0e43b00db498

2 years ago[XHamster] Support xhday.com alias, extract `uploader_id`
dirkf [Sun, 12 Jun 2022 13:10:38 +0000 (14:10 +0100)]
[XHamster] Support xhday.com alias, extract `uploader_id`
* support xhday.com alias for xhamster.com (resolves #31023)
  Authored by: dirkf
* extract `uploader_id`:
  from https://github.com/yt-dlp/yt-dlp/commit/908b56eaf7872149706dbd7fa071f838d0c786b7
  (PR https://github.com/yt-dlp/yt-dlp/pull/844)
  Authored by: octotherp

2 years ago[utils, etc] Kill child processes when yt-dl is killed
pukkandan [Sat, 9 Jan 2021 12:26:12 +0000 (17:56 +0530)]
[utils, etc] Kill child processes when yt-dl is killed

* derived from PR #26592, closes #26592

Authored by: Unrud

2 years ago[YouTube] Support JSON3 subtitle format
dirkf [Thu, 9 Jun 2022 14:25:23 +0000 (15:25 +0100)]
[YouTube] Support JSON3 subtitle format
* subtitle tests updated to match

2 years ago[test] Fix workable subtitle tests (except YT) and mark others as skip, broken
dirkf [Wed, 8 Jun 2022 22:11:33 +0000 (23:11 +0100)]
[test] Fix workable subtitle tests (except YT) and mark others as skip, broken

* broken tests need to be fixed when fixing the respective IE

2 years ago[test] Skip not _WORKING IE in subtitle tests; use unittest.skipTest throughout
dirkf [Wed, 8 Jun 2022 14:52:21 +0000 (15:52 +0100)]
[test] Skip not _WORKING IE in subtitle tests; use unittest.skipTest throughout

2 years ago[HRFernsehen] Back-port new extractor from yt-dlp
dirkf [Mon, 6 Jun 2022 18:29:48 +0000 (19:29 +0100)]
[HRFernsehen] Back-port new extractor from yt-dlp
Closes #26445, where this was originally proposed.

2 years ago[utils] Escape URL while sanitizing
pukkandan [Wed, 28 Apr 2021 23:26:09 +0000 (04:56 +0530)]
[utils] Escape URL while sanitizing
Closes #31008, #yt-dlp/263

While this fixes the issue in question, it does not try to address the root-cause of the problem
Refer: 915f911e365736227e134ad654601443dbfd7ccbf5fa042c82300218a2d07b95dd6b9c0756745db3

2 years ago[Readme] Clarified extractor naming (#29799)
LewdyCoder [Mon, 30 May 2022 01:50:50 +0000 (03:50 +0200)]
[Readme] Clarified extractor naming (#29799)

* Exported usable extractors must be named `xxxxIE`

Co-authored-by: dirkf <fieldhouse@gmx.net>
2 years ago[YouPorn] Improve `upload_date` extraction
dirkf [Sat, 28 May 2022 12:54:32 +0000 (13:54 +0100)]
[YouPorn] Improve `upload_date` extraction

See https://github.com/yt-dlp/yt-dlp/issues/2701#issuecomment-1034341883

2 years ago[utils] Enable ALPN in HTTPS to satisfy broken servers
dirkf [Sat, 28 May 2022 12:52:51 +0000 (13:52 +0100)]
[utils] Enable ALPN in HTTPS to satisfy broken servers

See https://github.com/yt-dlp/yt-dlp/issues/3878

2 years ago[YouTube] Handle player c5a4daa1 with indirect n-function definition
dirkf [Tue, 24 May 2022 14:33:00 +0000 (15:33 +0100)]
[YouTube] Handle player c5a4daa1 with indirect n-function definition

* resolves #30976

2 years agoUpdate options.py
Jacob Chapman [Wed, 13 Apr 2022 12:21:23 +0000 (07:21 -0500)]
Update options.py

2 years ago[wat.tv] Add version `pver` to metadata API call
dirkf [Thu, 19 May 2022 17:41:48 +0000 (17:41 +0000)]
[wat.tv] Add version `pver` to metadata API call

Resolves #30959.

2 years ago[NHK] Support alphabetic characters in 7-char NhkVod IDs (#29682)
dirkf [Mon, 9 May 2022 17:54:41 +0000 (18:54 +0100)]
[NHK] Support alphabetic characters in 7-char NhkVod IDs (#29682)

2 years ago[doc] Clarify test naming
dirkf [Thu, 28 Apr 2022 14:25:49 +0000 (15:25 +0100)]
[doc] Clarify test naming

2 years ago[streamcz] Remove empty `'{}'.format()` for Py2.6
dirkf [Fri, 29 Apr 2022 12:36:02 +0000 (13:36 +0100)]
[streamcz] Remove empty `'{}'.format()` for Py2.6

Use `'-join()'` here, or `{0}`, ..., in general.

2 years ago[KTH] Add new extractor for KTH play (#30885)
Árni Dagur [Thu, 28 Apr 2022 09:18:10 +0000 (11:18 +0200)]
[KTH] Add new extractor for KTH play (#30885)

* Implement extractor for KTH play
* Make KTH Play url regex more relaxed

2 years ago[Youtube] Fix "n" descrambling for player fae06c11
dirkf [Fri, 15 Apr 2022 15:07:09 +0000 (16:07 +0100)]
[Youtube] Fix "n" descrambling for player fae06c11

Resolves #30856.

2 years agoDisable blank issues
dirkf [Sun, 10 Apr 2022 04:49:09 +0000 (05:49 +0100)]
Disable blank issues

2 years ago[RAI] Fix extraction of http formats
nixxo [Sat, 2 Apr 2022 05:57:56 +0000 (07:57 +0200)]
[RAI] Fix extraction of http formats

From https://github.com/yt-dlp/yt-dlp/pull/3272
Closes https://github.com/yt-dlp/yt-dlp/issues/3270
Authored by: nixxo

2 years ago[RAI] Extend formats with direct http mp4 link (PR #27990)
nixxo [Wed, 27 Jan 2021 11:24:50 +0000 (12:24 +0100)]
[RAI] Extend formats with direct http mp4 link (PR #27990)

* initial support for creating direct mp4 link
* improved regexes and info extraction
* added "connection: close" to request headers
* updated to https://github.com/yt-dlp/yt-dlp/pull/208

2 years ago[RAI] Added checks for DRM protected content (PR #27657)
nixxo [Mon, 4 Jan 2021 14:11:47 +0000 (15:11 +0100)]
[RAI] Added checks for DRM protected content (PR #27657)

reviewed by pukkandan (https://github.com/yt-dlp/yt-dlp/pull/150)

2 years ago[extractor/bilibili] Fix path "/audio/auxxxxx" download return 403
lihan7 [Fri, 25 Mar 2022 07:46:28 +0000 (15:46 +0800)]
[extractor/bilibili] Fix path "/audio/auxxxxx" download return 403

2 years agoIgnore --external-downloader-args if --external-downloader was rejected
dirkf [Tue, 22 Feb 2022 11:24:06 +0000 (11:24 +0000)]
Ignore --external-downloader-args if --external-downloader was rejected

... and generate warning

2 years agoMake default upload_/release_date a compat_str
df [Sun, 1 Aug 2021 08:42:57 +0000 (09:42 +0100)]
Make default upload_/release_date a compat_str

Ensures download tests pass in Python 2 as well as 3; also
add YoutubeDL tests for timestamp -> upload_date etc.

2 years agoAvoid skipping ID when unlisted_hash is numeric
dirkf [Fri, 30 Jul 2021 11:58:19 +0000 (12:58 +0100)]
Avoid skipping ID when unlisted_hash is numeric

Pattern needed a non-greedy match; also replaced a redundant test with one for this, issue 29690

2 years ago[Alsace20TV] Add new extractors Alsace20TVIE, Alsace20TVEmbedIE
dirkf [Mon, 7 Feb 2022 20:06:27 +0000 (20:06 +0000)]
[Alsace20TV] Add new extractors Alsace20TVIE, Alsace20TVEmbedIE

2 years ago[CPAC] Add extractor for Canadian Parliament
dirkf [Thu, 24 Feb 2022 09:16:16 +0000 (09:16 +0000)]
[CPAC] Add extractor for Canadian Parliament

CPACIE: single episode
CPACPlaylistIE: playlists and searches

2 years agoFixed groups() call on potentially empty regex search object (#30676)
dirkf [Thu, 24 Feb 2022 18:26:58 +0000 (18:26 +0000)]
Fixed groups() call on potentially empty regex search object (#30676)

* Fixed groups() call on potentially empty regex search object.
- https://github.com/ytdl-org/youtube-dl/issues/30521

* minimising lines changed

Co-authored-by: yayorbitgum <50963144+yayorbitgum@users.noreply.github.com>
2 years ago[aliexpress] Fix test case
marieell [Thu, 10 Feb 2022 09:36:24 +0000 (10:36 +0100)]
[aliexpress] Fix test case

2 years ago[bigo] add support for bigo.tv (#30635)
Lesmiscore (Naoya Ozaki) [Thu, 24 Feb 2022 13:34:32 +0000 (22:34 +0900)]
[bigo] add support for bigo.tv (#30635)

* [bigo] add support for bigo.tv

* [bigo] prepend "Bigo says"

* title fallback

* add error for invalid json data

2 years ago[rutv] fix vbr for empty string value (#30623)
Vladimir Stavrinov [Mon, 14 Feb 2022 17:54:31 +0000 (20:54 +0300)]
[rutv] fix vbr for empty string value (#30623)

* [rutv] use str_to_int() (thx dirkf)

2 years agoadd missing __future__ import unicode_literals
Petr Vaněk [Sat, 12 Feb 2022 14:27:10 +0000 (15:27 +0100)]
add missing __future__ import unicode_literals

2 years agoresolve problem with unpacking operator for <py3.5
Petr Vaněk [Sat, 12 Feb 2022 14:02:08 +0000 (15:02 +0100)]
resolve problem with unpacking operator for <py3.5

2 years ago[streamcz] test fixes and one additional test
Petr Vaněk [Sat, 12 Feb 2022 12:13:20 +0000 (13:13 +0100)]
[streamcz] test fixes and one additional test