Commit Graph

18857 Commits

Author SHA1 Message Date
github-actions aefc38e78f Release (nightly)
Created by:

:ci skip all
2024-04-22 01:42:45 +00:00
dirkf b163d08481 [YouPorn] Add playlist extractors
* YouPornCategoryIE
* YouPornChannelIE
* YouPornCollectionIE
* YouPornStarIE
* YouPornTagIE
* YouPornVideosIE,
2024-04-22 01:42:16 +00:00
dirkf bf3b23ebb6 [YouPorn] Improve extraction
* detect unwatchable videos
* improve duration extraction
* fix count extraction and support large values
* detect and remove SEO spam boilerplate description
2024-04-22 01:42:16 +00:00
dirkf d2a092db42 [test/test_download] Support 'playlist_maxcount:count' expected value
* parallel to `playlist_mincount'
* specify both for a range of playlist lengths
* if max < min the test will always fail!
2024-04-22 01:42:16 +00:00
dirkf 3357276467 [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
2024-04-22 01:42:16 +00:00
github-actions c942b7bd4b Release (nightly)
Created by:

:ci skip all
2024-04-08 01:39:50 +00:00
dirkf b8ad32a481 [postprocessor/ffmpeg] Fix finding ffprobe (bug in 21792b8)
Fixes 21792b88b7 (commitcomment-140705274), thx: vonProteus
2024-04-08 01:39:26 +00:00
github-actions 4b84e03a55 Release (nightly)
Created by:

:ci skip all
2024-04-06 01:36:21 +00:00
Ori Avtalion 9bdbc8a2ea [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>
2024-04-06 01:35:49 +00:00
github-actions 38fb847cb1 Release (nightly)
Created by:

:ci skip all
2024-03-28 01:37:59 +00:00
dirkf 0113801807 [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
2024-03-28 01:37:26 +00:00
dirkf 4c8cd344a4 [downloader/external] Fix "Resource Warning" in downloader test
* add compat_subprocess_Popen context manager
* apply context manager in FFmpegFD._call_downloader()
2024-03-28 01:37:26 +00:00
dirkf dab1b32312 [compat] Simplify/fix compat_html_parser_HTMLParseError 2024-03-28 01:37:26 +00:00
dirkf 929e2be148 [utils] Apply compat_contextlib_suppress 2024-03-28 01:37:26 +00:00
dirkf 045d7fb038 [compat] Add compat_contextlib_suppress
with compat_contextlib_suppress(*Exceptions):
    # code that fails silently for any of Exceptions
2024-03-28 01:37:26 +00:00
github-actions 1122bf7fd1 Release (nightly)
Created by:

:ci skip all
2024-03-24 01:42:34 +00:00
gy-chen e78d7ca500 [Youtube] Fix unwanted private method __ie_msg in f8b0135850
Fixes `AttributeError no attribute '_YoutubeIE__ie_msg'` if unable to decode n-parameter
2024-03-24 01:42:08 +00:00
github-actions a6e25bbfb6 Release (nightly)
Created by:

:ci skip all
2024-03-13 01:39:36 +00:00
Zizheng Guo 4bcc924cce [Vimeo] Improve `config` extraction (#32742)
* update for more robust json parsing
2024-03-13 01:39:05 +00:00
github-actions e1f568595e Release (nightly)
Created by:

:ci skip all
2024-03-09 01:32:52 +00:00
hatsomatt b666382924 [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
2024-03-09 01:32:21 +00:00
dirkf 639ab9458e [Videa] Align with yt-dlp 2024-03-09 01:32:21 +00:00
dirkf e5b9c71131 [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
2024-03-09 01:32:21 +00:00
dirkf fc2eb55d8e [InfoExtractor] Rework and improve JWPlayer extraction
* use traverse_obj() and _search_json()
* support playlist `.load({**video1},{**video2}, ...)`
* support transform_source=... for _extract_jwplayer_data()
2024-03-09 01:32:21 +00:00
dirkf 4de7ce336c [InfoExtractor] Add `_search_json()`
* uses the error diagnostic to truncate the JSON string
* may be confused by non-C-Pythons
2024-03-09 01:32:21 +00:00
dirkf aacdf49ca5 [utils] Let int_or_none() accept a base, like int() 2024-03-09 01:32:21 +00:00
github-actions bf3a36c291 Release (nightly)
Created by:

:ci skip all
2024-03-04 01:42:48 +00:00
Hubert Hirtz b8bc0dd266 [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>
2024-03-04 01:42:21 +00:00
github-actions 0f4c1b0a6b Release (nightly)
Created by:

:ci skip all
2024-02-23 01:35:57 +00:00
Aaron Tan 4e60a602cd [caffeine.tv] Add new extractor (#32514)
* Add CaffeineTVIE info extractor to support site caffeine.tv

---------

Co-authored-by: dirkf <fieldhouse@gmx.net>
2024-02-23 01:35:34 +00:00
dirkf 6f63e71b9c [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
2024-02-23 01:35:34 +00:00
github-actions ec0d1a08ee Release (nightly)
Created by:

:ci skip all
2024-02-22 01:36:04 +00:00
dirkf 39f2013270 [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.
2024-02-22 01:35:40 +00:00
github-actions 2c36296746 Release (nightly)
Created by:

:ci skip all
2024-02-19 01:38:30 +00:00
dirkf de7d59749f [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
2024-02-19 01:38:03 +00:00
github-actions 2547f3b0f9 Release (nightly)
Created by:

:ci skip all
2024-02-03 01:34:23 +00:00
dirkf 665b2543ce [Vbox7IE] Sanitise ld+json containing unexpected characters
* based on PR #29680
* added hack to force invoking `transform_source`
* fixes #26218
2024-02-03 01:33:58 +00:00
dirkf 7160f2f1f8 [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
2024-02-03 01:33:58 +00:00
dirkf 72be2df9c1 [InfoExtractor] Correctly resolve BaseURL in DASH manifest
Specs:
* ISO/IEC 23009-1:2012 section 5.6
* RFC 3986 section 5.
2024-02-03 01:33:58 +00:00
dirkf 0b09140917 [InfoExtractor] Support byte range for DASH
* adapted from https://github.com/ytdl-org/youtube-dl/pull/30279
* thx former GH user kikuyan
2024-02-03 01:33:58 +00:00
dirkf 3403205d1d [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
2024-02-03 01:33:58 +00:00
dirkf 85130c5989 [InfoExtractor] Support DASH subtitle extraction (yt-dlp back-port) 2024-02-03 01:33:58 +00:00
github-actions 20c831d037 Release (nightly)
Created by:

:ci skip all
2024-01-23 01:46:58 +00:00
dirkf b717470a9f [YouTube] Fix `like_count` extraction using `likeButtonViewModel`
* also fix various tests
* TODO: check against yt-dlp tests
2024-01-23 01:46:30 +00:00
dirkf d1f3ab6d6c [YouTube] Rework n-sig processing, realigning with yt-dlp
* apply n-sig before chunked fragments, fixes #32692
2024-01-23 01:46:30 +00:00
dirkf c866afe037 [InfoExtractor] Support some warning and `._downloader` shortcut methods from yt-dlp 2024-01-23 01:46:30 +00:00
dirkf 5475e86b7c [compat] Rework compat for `method` parameter of `compat_urllib_request.Request` constructor
* fixes #32573
* does not break `utils.HEADrequest` (eg)
2024-01-23 01:46:30 +00:00
github-actions 9673f1d7c2 Release (nightly)
Created by:

:ci skip all
2023-12-07 01:44:14 +00:00
mk-pmb 8aba3b615c [core] Fix format string injection for metadata JSON filename message. 2023-12-07 01:43:52 +00:00
github-actions 1db97bec80 Release (nightly)
Created by:

:ci skip all
2023-12-06 01:44:56 +00:00