1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-14 02:34:02 +00:00
Commit graph

958 commits

Author SHA1 Message Date
Aakash Gajjar
19a107f21c
Revert "pull changes from remote master ()" ()
This reverts commit b827ee921f.
2020-08-26 20:22:32 +05:30
Aakash Gajjar
b827ee921f
pull changes from remote master ()
* [scrippsnetworks] Add new extractor(closes )(closes )

* [teachable] Improve locked lessons detection ()

* [teachable] Fail with error message if no video URL found

* [extractors] add missing import for ScrippsNetworksIE

* [brightcove] cache brightcove player policy keys

* [prosiebensat1] improve geo restriction handling(closes )

* [soundcloud] automatically update client id on failing requests

* [spankbang] Fix extraction (closes , closes , closes )

* [spankbang] Improve removed video detection ()

* [brightcove] update policy key on failing requests

* [pornhub] Fix extraction and add support for m3u8 formats (closes , closes )

* [pornhub] Improve locked videos detection (closes , closes )

* [brightcove] invalidate policy key cache on failing requests

* [soundcloud] fix client id extraction for non fatal requests

* [ChangeLog] Actualize
[ci skip]

* [devscripts/create-github-release] Switch to using PAT for authentication

Basic authentication will be deprecated soon

* release 2020.01.01

* [redtube] Detect private videos ()

* [vice] improve extraction(closes )

* [devscripts/create-github-release] Remove unused import

* [wistia] improve format extraction and extract subtitles(closes )

* [nrktv:seriebase] Fix extraction (closes ) ()

* [discovery] fix anonymous token extraction(closes )

* [scrippsnetworks] add support for www.discovery.com videos

* [scrippsnetworks] correct test case URL

* [dctp] fix format extraction(closes )

* [pandatv] Remove extractor ()

* [naver] improve extraction

- improve geo-restriction handling
- extract automatic captions
- extract uploader metadata
- extract VLive HLS formats

* [naver] improve metadata extraction

* [cloudflarestream] improve extraction

- add support for bytehighway.net domain
- add support for signed URLs
- extract thumbnail

* [cloudflarestream] import embed URL extraction

* [lego] fix extraction and extract subtitle(closes )

* [safari] Fix kaltura session extraction (closes ) ()

* [orf:fm4] Fix extraction ()

* [orf:radio] Clean description and improve extraction

* [twitter] add support for promo_video_website cards(closes )

* [vodplatform] add support for embed.kwikmotion.com domain

* [ndr:base:embed] Improve thumbnails extraction (closes )

* [canvas] Add support for new API endpoint and update tests (closes , closes )

* [travis] Add flake8 job ()

* [yourporn] Fix extraction (closes , closes , closes )

* [ChangeLog] Actualize
[ci skip]

* release 2020.01.15

* [soundcloud] Restore previews extraction (closes )

* [orf:tvthek] Improve geo restricted videos detection (closes )

* [zype] improve extraction

- extract subtitles(closes )
- support URLs with alternative keys/tokens()
- extract more metadata

* [americastestkitchen] fix extraction

* [nbc] add support for nbc multi network URLs(closes )

* [ard] improve extraction(closes )

- simplify extraction
- extract age limit and series
- bypass geo-restriction

* [ivi:compilation] Fix entries extraction (closes )

* [24video] Add support for 24video.vip (closes )

* [businessinsider] Fix jwplatform id extraction (closes ) ()

* [ard] add a missing condition

* [azmedien] fix extraction(closes )

* [voicerepublic] fix extraction

* [stretchinternet] fix extraction(closes )

* [youtube] Fix sigfunc name extraction (closes )

* [ChangeLog] Actualize
[ci skip]

* release 2020.01.24

* [soundcloud] imporve private playlist/set tracks extraction

https://github.com/ytdl-org/youtube-dl/issues/3707#issuecomment-577873539

* [svt] fix article extraction(closes )(closes )

* [svt] fix series extraction(closes )

* [viewlift] improve extraction

- fix extraction(closes )
- add add support for authentication
- add support for more domains

* [vimeo] fix album extraction(closes )

* [tva] Relax _VALID_URL (closes )

* [tv5mondeplus] Fix extraction (closes , closes )

* [twitch:stream] Lowercase channel id for stream request (closes )

* [sportdeutschland] Update to new sportdeutschland API

They switched to SSL, but under a different host AND path...
Remove the old test cases because these videos have become unavailable.

* [popcorntimes] Add extractor (closes )

* [thisoldhouse] fix extraction(closes )

* [toggle] Add support for mewatch.sg (closes ) ()

* [compat] Introduce compat_realpath (refs )

* [update] Fix updating via symlinks (closes )

* [nytimes] improve format sorting(closes )

* [abc:iview] Support 720p () ()

* [nova:embed] Fix extraction (closes )

* [nova:embed] Improve (closes )

* [nova] Improve extraction (refs )

* [jpopsuki] Remove extractor (closes )

* [YoutubeDL] Fix playlist entry indexing with --playlist-items (closes , closes )

* [test_YoutubeDL] Fix get_ids

* [test_YoutubeDL] Add tests for  (closes )

* [24video] Add support for porn.24video.net (closes , closes )

* [npr] Add support for streams (closes )

* [ChangeLog] Actualize
[ci skip]

* release 2020.02.16

* [tv2dk:bornholm:play] Fix extraction ()

* [imdb] Fix extraction (closes )

* [wistia] Add support for multiple generic embeds (closes , closes )

* [teachable] Add support for multiple videos per lecture (closes )

* [pornhd] Fix extraction (closes )

* [options] Remove duplicate short option -v for --version ()

* [extractor/common] Convert ISM manifest to unicode before processing on python 2 ()

* [YoutubeDL] Force redirect URL to unicode on python 2

* Remove no longer needed compat_str around geturl

* [youjizz] Fix extraction (closes )

* [test_subtitles] Remove obsolete test

* [zdf:channel] Fix tests

* [zapiks] Fix test

* [xtube] Fix metadata extraction (closes , closes )

* [xtube:user] Fix test

* [telecinco] Fix extraction (refs )

* [telecinco] Add support for article opening videos

* [franceculture] Fix extraction (closes )

* [xhamster] Fix extraction (closes )

* [ChangeLog] Actualize
[ci skip]

* release 2020.03.01

* [vimeo] Fix subtitles URLs ()

* [servus] Add support for new URL schema (closes , closes , closes )

* [youtube:playlist] Fix tests (closes ) ()

* [peertube] Improve extraction

* [peertube] Fix issues and improve extraction (closes )

* [pornhub] Improve title extraction (closes )

* [vimeo] fix showcase password protected video extraction(closes )

* [youtube] Fix age-gated videos support without login (closes )

* [youtube] Fix tests

* [ChangeLog] Actualize
[ci skip]

* release 2020.03.06

* [nhk] update API version(closes )

* [youtube] Improve extraction in 429 error conditions (closes )

* [youtube] Improve age-gated videos extraction in 429 error conditions (refs )

* [youtube] Remove outdated code

Additional get_video_info requests don't seem to provide any extra itags any longer

* [README.md] Clarify 429 error

* [pornhub] Add support for pornhubpremium.com ()

* [utils] Add support for cookies with spaces used instead of tabs

* [ChangeLog] Actualize
[ci skip]

* release 2020.03.08

* Revert "[utils] Add support for cookies with spaces used instead of tabs"

According to [1] TABs must be used as separators between fields.
Files produces by some tools with spaces as separators are considered
malformed.

1. https://curl.haxx.se/docs/http-cookies.html

This reverts commit cff99c91d1.

* [utils] Add reference to cookie file format

* Revert "[vimeo] fix showcase password protected video extraction(closes )"

This reverts commit 12ee431676.

* [nhk] Relax _VALID_URL ()

* [nhk] Remove obsolete rtmp formats (closes )

* [nhk] Update m3u8 URL and use native hls ()

* [ndr] Fix extraction (closes )

* [xtube] Fix formats extraction (closes )

* [xtube] Fix typo

* [hellporno] Fix extraction (closes )

* [cbc:watch] Add support for authentication

* [cbc:watch] Fix authenticated device token caching (closes )

* [soundcloud] fix download url extraction(closes )

* [limelight] remove disabled API requests(closes )

* [bilibili] Add support for new URL schema with BV ids (closes , closes )

* [bilibili] Add support for player.bilibili.com (closes )

* [teachable] Extract chapter metadata (closes )

* [generic] Look for teachable embeds before wistia

* [teachable] Update upskillcourses domain

New version does not use teachable platform any longer

* [teachable] Update gns3 domain

* [teachable] Update test

* [ChangeLog] Actualize
[ci skip]

* [ChangeLog] Actualize
[ci skip]

* release 2020.03.24

* [spankwire] Fix extraction (closes , closes )

* [spankwire] Add support for generic embeds (refs )

* [youporn] Add support form generic embeds

* [mofosex] Add support for generic embeds (closes )

* [tele5] Fix extraction (closes )

* [extractor/common] Skip malformed ISM manifest XMLs while extracting ISM formats ()

* [tv4] Fix ISM formats extraction (closes )

* [twitch:clips] Extend _VALID_URL (closes ) ()

* [motherless] Fix extraction (closes )

* [nova:embed] Fix extraction (closes )

* [youtube] Skip broken multifeed videos (closes )

* [soundcloud] Extract AAC format

* [soundcloud] Improve AAC format extraction (closes , closes )

* [thisoldhouse] Fix video id extraction (closes )

Added support for:
with of without "www."
and either  ".chorus.build" or ".com"

It now validated correctly on older URL's
```
<iframe src="https://thisoldhouse.chorus.build/videos/zype/5e33baec27d2e50001d5f52f
```
and newer ones
```
<iframe src="https://www.thisoldhouse.com/videos/zype/5e2b70e95216cc0001615120
```

* [thisoldhouse] Improve video id extraction (closes )

* [youtube] Fix DRM videos detection (refs )

* [options] Clarify doc on --exec command (closes ) ()

* [prosiebensat1] Improve extraction and remove 7tv.de support ()

* [prosiebensat1] Extract series metadata

* [tenplay] Relax _VALID_URL (closes )

* [tvplay] fix Viafree extraction(closes )(closes )(closes )

* [yahoo] fix GYAO Player extraction and relax title URL regex(closes )(closes )

* [youtube] Use redirected video id if any (closes )

* [youtube] Improve player id extraction and add tests

* [extractor/common] Extract multiple JSON-LD entries

* [crunchyroll] Fix and improve extraction (closes , closes )

* [ChangeLog] Actualize
[ci skip]

* release 2020.05.03

* [puhutv] Remove no longer available HTTP formats (closes )

* [utils] Improve cookie files support

+ Add support for UTF-8 in cookie files
* Skip malformed cookie file entries instead of crashing (invalid entry len, invalid expires at)

* [dailymotion] Fix typo

* [compat] Introduce compat_cookiejar_Cookie

* [extractor/common] Use compat_cookiejar_Cookie for _set_cookie (closes , closes )

To always ensure cookie name and value are bytestrings on python 2.

* [orf] Add support for more radio stations (closes ) ()

* [uol] fix extraction(closes )

* [downloader/http] Finish downloading once received data length matches expected

Always do this if possible, i.e. if Content-Length or expected length is known, not only in test.
This will save unnecessary last extra loop trying to read 0 bytes.

* [downloader/http] Request last data block of exact remaining size

Always request last data block of exact size remaining to download if possible not the current block size.

* [iprima] Improve extraction (closes )

* [youtube] Improve signature cipher extraction (closes )

* [ChangeLog] Actualize
[ci skip]

* release 2020.05.08

* [spike] fix Bellator mgid extraction(closes )

* [bbccouk] PEP8

* [mailru] Fix extraction (closes ) ()

* [README.md] flake8 HTTPS URL ()

* [youtube] Add support for yewtu.be ()

* [soundcloud] reduce API playlist page limit(closes )

* [vimeo] improve format extraction and sorting(closes )

* [redtube] Improve title extraction ()

* [indavideo] Switch to HTTPS for API request ()

* [utils] Fix file permissions in write_json_file (closes ) ()

* [redtube] Improve formats extraction and extract m3u8 formats (closes , closes )

* [ard] Improve _VALID_URL (closes ) ()

* [giantbomb] Extend _VALID_URL ()

* [postprocessor/ffmpeg] Embed series metadata with --add-metadata

* [youtube] Add support for more invidious instances ()

* [ard:beta] Extend _VALID_URL (closes )

* [ChangeLog] Actualize
[ci skip]

* release 2020.05.29

* [jwplatform] Improve embeds extraction (closes )

* [periscope] Fix untitled broadcasts ()

* [twitter:broadcast] Add untitled periscope broadcast test

* [malltv] Add support for sk.mall.tv ()

* [brightcove] Fix subtitles extraction (closes )

* [brightcove] Sort imports

* [twitch] Pass v5 accept header and fix thumbnails extraction (closes )

* [twitch:stream] Fix extraction (closes )

* [twitch:stream] Expect 400 and 410 HTTP errors from API

* [tele5] Prefer jwplatform over nexx (closes )

* [jwplatform] Add support for bypass geo restriction

* [tele5] Bypass geo restriction

* [ChangeLog] Actualize
[ci skip]

* release 2020.06.06

* [kaltura] Add support for multiple embeds on a webpage (closes )

* [youtube] Extract chapters from JSON (closes )

* [facebook] Support single-video ID links

I stumbled upon this at https://www.facebook.com/bwfbadminton/posts/10157127020046316 . No idea how prevalent it is yet.

* [youtube] Fix playlist and feed extraction (closes )

* [youtube] Fix thumbnails extraction and remove uploader id extraction warning (closes )

* [youtube] Fix upload date extraction

* [youtube] Improve view count extraction

* [youtube] Fix uploader id and uploader URL extraction

* [ChangeLog] Actualize
[ci skip]

* release 2020.06.16

* [youtube] Fix categories and improve tags extraction

* [youtube] Force old layout (closes , closes , closes , closes )

* [ChangeLog] Actualize
[ci skip]

* release 2020.06.16.1

* [brightcove] Improve embed detection (closes )

* [bellmedia] add support for cp24.com clip URLs(closes )

* [youtube:playlists] Extend _VALID_URL (closes )

* [youtube] Prevent excess HTTP 301 ()

* [wistia] Restrict embed regex (closes )

* [youtube] Improve description extraction (closes ) ()

* [youtube] Fix sigfunc name extraction (closes , closes , closes , closes )

* [ChangeLog] Actualize
[ci skip]

* release 2020.07.28

* [xhamster] Extend _VALID_URL (closes ) ()

* [xhamster] Fix extraction (closes ) ()

* [xhamster] Extend _VALID_URL (closes )

Co-authored-by: Remita Amine <remitamine@gmail.com>
Co-authored-by: Sergey M․ <dstftw@gmail.com>
Co-authored-by: nmeum <soeren+github@soeren-tempel.net>
Co-authored-by: Roxedus <me@roxedus.dev>
Co-authored-by: Singwai Chan <c.singwai@gmail.com>
Co-authored-by: cdarlint <cdarlint@users.noreply.github.com>
Co-authored-by: Johannes N <31795504+jonolt@users.noreply.github.com>
Co-authored-by: jnozsc <jnozsc@gmail.com>
Co-authored-by: Moritz Patelscheck <moritz.patelscheck@campus.tu-berlin.de>
Co-authored-by: PB <3854688+uno20001@users.noreply.github.com>
Co-authored-by: Philipp Hagemeister <phihag@phihag.de>
Co-authored-by: Xaver Hellauer <software@hellauer.bayern>
Co-authored-by: d2au <d2au.dev@gmail.com>
Co-authored-by: Jan 'Yenda' Trmal <jtrmal@gmail.com>
Co-authored-by: jxu <7989982+jxu@users.noreply.github.com>
Co-authored-by: Martin Ström <name@my-domain.se>
Co-authored-by: The Hatsune Daishi <nao20010128@gmail.com>
Co-authored-by: tsia <github@tsia.de>
Co-authored-by: 3risian <59593325+3risian@users.noreply.github.com>
Co-authored-by: Tristan Waddington <tristan.waddington@gmail.com>
Co-authored-by: Devon Meunier <devon.meunier@gmail.com>
Co-authored-by: Felix Stupp <felix.stupp@outlook.com>
Co-authored-by: tom <tomster954@gmail.com>
Co-authored-by: AndrewMBL <62922222+AndrewMBL@users.noreply.github.com>
Co-authored-by: willbeaufoy <will@willbeaufoy.net>
Co-authored-by: Philipp Stehle <anderschwiedu@googlemail.com>
Co-authored-by: hh0rva1h <61889859+hh0rva1h@users.noreply.github.com>
Co-authored-by: comsomisha <shmelev1996@mail.ru>
Co-authored-by: TotalCaesar659 <14265316+TotalCaesar659@users.noreply.github.com>
Co-authored-by: Juan Francisco Cantero Hurtado <iam@juanfra.info>
Co-authored-by: Dave Loyall <dave@the-good-guys.net>
Co-authored-by: tlsssl <63866177+tlsssl@users.noreply.github.com>
Co-authored-by: Rob <ankenyr@gmail.com>
Co-authored-by: Michael Klein <github@a98shuttle.de>
Co-authored-by: JordanWeatherby <47519158+JordanWeatherby@users.noreply.github.com>
Co-authored-by: striker.sh <19488257+strikersh@users.noreply.github.com>
Co-authored-by: Matej Dujava <mdujava@gmail.com>
Co-authored-by: Glenn Slayden <5589855+glenn-slayden@users.noreply.github.com>
Co-authored-by: MRWITEK <mrvvitek@gmail.com>
Co-authored-by: JChris246 <43832407+JChris246@users.noreply.github.com>
Co-authored-by: TheRealDude2 <the.real.dude@gmx.de>
2020-08-25 20:23:34 +05:30
Sergey M․
42db58ec73
[utils] Improve str_to_int 2019-12-15 23:15:24 +07:00
Remita Amine
348c6bf1c1 [utils] handle int values passed to str_to_int 2019-11-29 17:39:18 +01:00
Sergey M․
1ced222120
[utils] Add generic caesar cipher and rot47 2019-11-27 02:26:42 +07:00
InfernalUnderling
9d30c2132a [utils] Handle rd-suffixed day parts in unified_strdate () 2019-11-27 00:08:37 +07:00
Remita Amine
237513e801 [yahoo] restore support for cbs suffixed URLs 2019-10-31 07:38:53 +01:00
Sergey M․
824fa51165
[utils] Improve subtitles_filename (closes ) 2019-10-18 04:03:53 +07:00
Sergey M․
28cc2241e4
[utils] Restrict parse_codecs and add theora as known vcodec () 2019-06-14 01:56:17 +07:00
Sergey M․
53cd37bac5
[utils] Improve strip_or_none 2019-05-24 00:03:01 +07:00
Sergey M․
3089bc748c
Fix W504 and disable W503 (closes ) 2019-05-11 03:57:40 +07:00
Jakub Wilk
fd35d8cdfd [utils] Transliterate "þ" as "th" ()
Despite visual similarity "þ" is unrelated to "p".
It is normally transliterated as "th":

    $ echo þ-Þ | iconv -t ASCII//TRANSLIT
    th-TH
2019-05-11 01:42:31 +07:00
Sergey M․
5e1271c56d
[utils] Improve int_or_none and float_or_none () 2019-03-23 01:08:54 +07:00
Sergey M․
d493f15c11
[extractor/common] Improve HTML5 entries extraction and add some realworld tests 2019-03-17 09:09:32 +07:00
Sergey M․
0dc41787af
[utils] Introduce parse_bitrate 2019-03-17 09:07:47 +07:00
Sergey M․
2e27421c70
[test_InfoExtractor] Add test for 2019-03-15 01:20:24 +07:00
Sergey M․
067aa17edf
Start moving to ytdl-org 2019-03-11 04:00:54 +07:00
Sergey M․
fca9baf0da
[test] Fix test_compat_etree_Element 2019-03-06 02:46:26 +07:00
Sergey M․
399f76870d
[compat] Introduce compat_etree_Element 2019-03-06 01:18:52 +07:00
remitamine
e7e62441cd [utils] strip #HttpOnly_ prefix from cookies files () 2019-03-03 19:23:59 +07:00
Ales Jirasek
22f5f5c6fc
[malltv] Add extractor (closes ) 2019-02-08 00:43:26 +07:00
Sergey M․
e118a8794f
[YoutubeDL] Fix typo in string negation implementation and add more tests (closes ) 2019-01-24 01:39:39 +07:00
Sergey M․
fad4ceb534
[utils] Fix urljoin for paths with non-http(s) schemes 2019-01-20 20:22:19 +07:00
Remita Amine
fc746c3fdd [test/test_InfoExtractor] add test for 2019-01-20 09:05:12 +01:00
Sergey M․
2cc779f497
[YoutubeDL] Add negation support for string comparisons in format selection expressions (closes , closes ) 2019-01-20 13:48:49 +07:00
Sergey M․
a16c7c033a
[test/helper] Add support for maxcount and count collection len test checkers 2019-01-16 02:17:49 +07:00
Sergey M․
6e29458f24
[test/testdata/cookies/session_cookies.txt] Fix empty expires test data 2018-12-10 04:30:00 +07:00
Sergey M․
9e02c2c704
[YoutubeDLCookieJar] Add test for keeping session cookies 2018-12-09 22:57:00 +07:00
Sergey M․
6864855eb1
[tests] Fix invalid escape sequences 2018-11-23 00:43:42 +07:00
Xiao Di Guan
95e42d7336 [extractor/common] Ensure response handle is not prematurely closed before it can be read if it matches expected_status (resolves , closes , resolves ) 2018-11-03 01:18:20 +07:00
Sergey M․
25d110be30
[utils] Properly recognize AV1 codec (closes ) 2018-09-10 02:37:22 +07:00
Sergey M․
af03000ad5
[utils] Introduce url_or_none 2018-07-21 18:03:58 +07:00
Sergey M․
e9c671d5e8
[utils] Allow JSONP with empty func name (closes ) 2018-07-21 12:30:18 +07:00
Enes
85750f8972 [openload] Improve ext extraction 2018-06-02 00:16:22 +07:00
Remita Amine
3bb3ff38a1 [test_utils] add tests for b836118724 2018-05-23 12:20:05 +01:00
Sergey M․
6cc622327f
[utils] Introduce merge_dicts 2018-04-28 02:47:17 +07:00
Sergey M․
1cc47c6674
[utils] Fix match_str for boolean meta fields 2018-04-24 23:54:49 +07:00
Dan Salmon
518d5ba519 Fix some tests 2018-04-18 00:10:02 +07:00
Sergey M․
47a5cb7734
Generalize XML manifest processing code and improve XSPF parsing (closes ) 2018-03-18 02:52:17 +07:00
Ricardo Constantino
96b8b9abae
[extractor/generic] Support relative URIs in _parse_xspf
<location> can have relative URIs, not just absolute.
2018-03-18 02:48:44 +07:00
Philipp Hagemeister
f226880c6d [tennistv] Add support for tennistv.com 2018-03-14 09:55:21 +01:00
Sergey M․
b871d7e954
[utils] Add parse_resolution 2018-03-02 23:39:04 +07:00
Sergey M․
befa4708fd
[utils] Fixup some common URL's typos in sanitize_url (closes ) 2018-02-19 22:50:23 +07:00
Sergey M․
6fcc053947
[test_downloader_http] Use try_rm 2018-02-03 23:24:27 +07:00
Sergey M․
f19eae429a
[test_http] Use 127.0.0.1 instead of localhost 2018-02-03 23:09:25 +07:00
Sergey M․
ba515388b8
Introduce --http-chunk-size 2018-02-03 23:08:58 +07:00
squibbysquibby
655c410063 [test_download] Fix download tests for lazy extractors (closes , closes ) 2018-01-21 18:15:11 +07:00
Sergey M․
c707b1d828
[test_utils] Add tests for malformed JSON handling in js_to_json 2018-01-20 23:00:09 +07:00
Mike Fährmann
c384d537f8 [util] Improve scientific notation handling in js_to_json (closes ) 2018-01-20 22:54:21 +07:00
Sergey M․
9d6ac71c27
[extractor/common] Fix extraction of DASH formats with the same representation id (closes ) 2017-12-29 23:14:56 +07:00