Commit Graph

18877 Commits

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

:ci skip all
2024-06-12 01:48:25 +00:00
Paper 3e38ea12db [VidLii] Add 720p support (#30924)
* [VidLii] Add HD support  (yt-dlp backport-ish)

* Also fix a bug with the view count

---------

Co-authored-by: dirkf <fieldhouse@gmx.net>
2024-06-12 01:47:57 +00:00
dirkf 3db3ffc859 [ORF] Skip tests with limited availability 2024-06-12 01:47:57 +00:00
dirkf 7b510e4f4d [ORF] Re-factor and update`ORFFM4StoryIE`
* fix getting media via DASH instead of inaccessible mp4
* also get in-page YT media
2024-06-12 01:47:57 +00:00
dirkf ce7f1813dd [ORF] Support sound.orf.at, updating `ORFRadioIE`
* maintain support for xx.orf.at/player/... URLs
* add `ORFRadioCollectionIE` to support playlists in ORF Sound
* back-port and re-work `ORFPodcastIE` from https://github.com/yt-dlp/yt-dlp/pull/8486, thx Esokrates
2024-06-12 01:47:57 +00:00
dirkf ac87af192d [ORF] Support on.orf.at, replacing `ORFTVthekIE`
* add `ORFONIE`, back-porting yt-dlp PR https://github.com/yt-dlp/yt-dlp/pull/9113 and friends: thx HobbyistDev, TuxCoder, seproDev
* re-factor to support livestreams via new `ORFONliveIE`
2024-06-12 01:47:57 +00:00
dirkf b5fb97a711 [test] Improve download test
* skip reason can't be unicode in Py2
* remove duplicate assert...Equal functions
2024-06-12 01:47:57 +00:00
dirkf bfe962ff50 [core] Re-factor with `_fill_common_fields()` as used in yt-dlp 2024-06-12 01:47:57 +00:00
dirkf c3928f9122 [core] Safer handling of nested playlist data 2024-06-12 01:47:57 +00:00
kmnx 5a52f5f079 [mixcloud] updated mixcloud API server address (#32557)
* updated mixcloud API server address
* fix tests
* etc

---------

Co-authored-by: dirkf <fieldhouse@gmx.net>
2024-06-12 01:47:57 +00:00
github-actions 4346d68237 Release (nightly)
Created by:

:ci skip all
2024-05-31 01:46:23 +00:00
dirkf 10bf86fd2e [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
2024-05-31 01:45:57 +00:00
dirkf 045c63f951 [compat] Avoid type comparison in `compat_ord`
NB This isn't actually a compat fn; it should be utils.int_from_int_or_char
2024-05-31 01:45:57 +00:00
dirkf 9efa2a0d55 [utils] Split out traversal.py dummy and traversal tests 2024-05-31 01:45:57 +00:00
dirkf 563a8549ae [compat] Improve compat_etree_iterfind for Py2.6
Adapted from https://raw.githubusercontent.com/python/cpython/2.7/Lib/xml/etree/ElementPath.py
2024-05-31 01:45:57 +00:00
dirkf a093e0ac1c [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
2024-05-31 01:45:57 +00:00
github-actions 90cac9424d Release (nightly)
Created by: dirkf

:ci skip all
2024-05-16 18:18:31 +00:00
dirkf 6d8de7ccf7
[workflows/build.yml] Temporary workaround for Python 3.4/5 failures
https://github.com/actions/setup-python/issues/866
2024-05-16 19:07:15 +01:00
github-actions cf9bccb0e5 Release (nightly)
Created by:

:ci skip all
2024-05-16 01:44:06 +00:00
dirkf 095dc798b2 [workflows/ci.yml] Temporary workaround for Python 3.5 _pip_ failures
https://github.com/actions/setup-python/issues/866
2024-05-16 01:43:40 +00:00
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