31718 Commits

Author SHA1 Message Date
Tom-Oliver Heidel
baf36445c1 Merge branch 'ard.py_add_playlist_support' of https://github.com/martin54/youtube-dl into martin54-ard.py_add_playlist_support 2020-09-08 18:31:53 +02:00
Tom-Oliver Heidel
1c547dc8b3
[skip travis] add gitter and license badge 2020-09-08 18:02:04 +02:00
Vilim Lendvaj
44a5a32080
Update to new Niconico playlist format 2020-09-08 13:57:38 +02:00
Derek Land
4eacbc1722 removed trailing whitespace 2020-09-08 13:32:46 +02:00
Derek Land
e182ba877b with old url pattern intact 2020-09-08 13:14:16 +02:00
Derek Land
d52335245d fixed change in rtl.nl url pattern 2020-09-08 13:09:21 +02:00
Teemu Ikonen
1683735ea5 [elonet] Add extractor (closes #24774) 2020-09-08 09:15:03 +03:00
siikamiika
942fffbfc1 remove debug code 2020-09-08 00:31:08 +03:00
siikamiika
74e939dae2 handle errors 2020-09-08 00:31:08 +03:00
siikamiika
b8d4a87560 harden regex with lookbehind 2020-09-08 00:31:08 +03:00
siikamiika
13114df673 fix ytInitialData parsing 2020-09-08 00:31:08 +03:00
siikamiika
17d14e05f7 fix premiere live chat
They have isLiveContent = false so just check if the live chat renderer
continuation exists
2020-09-08 00:31:08 +03:00
siikamiika
b8eff9125a flake8 2020-09-08 00:31:08 +03:00
siikamiika
8ff9f315b0 attempt to fix syntax error on older python 2020-09-08 00:31:08 +03:00
siikamiika
b50548d893 rename variable 2020-09-08 00:31:08 +03:00
siikamiika
d3fd1d8b93 run flake8 2020-09-08 00:31:08 +03:00
siikamiika
f671e41ffe check live chat replay existence 2020-09-08 00:31:08 +03:00
siikamiika
2c4a7e0f68 support youtube live chat replay 2020-09-08 00:31:08 +03:00
siikamiika
a72a13dc4a use dl function for subtitles 2020-09-08 00:31:08 +03:00
tsukumijima
dfff793dae [niconico] fix "E225 missing whitespace around operator" error in flake8 2020-09-08 03:44:35 +09:00
lkho
1b8805f831 [duboku] add referer header 2020-09-07 21:03:39 +08:00
nixxo
d53fec697e
[mailru] fixed extraction
improved valid_url regex to match more urls like
>https://my.mail.ru/mail/7bw7/video/embed/_myvideo/6778
>https://videoapi.my.mail.ru/videos/embed/mail/7bw7/_myvideo/6778.html
previously not matched.

Fixed json extraction to download metadata and video url.
2020-09-07 14:21:21 +02:00
tsukumijima
697fd6905d Merge remote-tracking branch 'upstream/master' into fix/niconico 2020-09-07 21:19:29 +09:00
Surkal
e062ec875d split regex 2020-09-07 12:24:28 +02:00
Giuseppe Lumia
483056d624
[youtube] Fix youtube mix playlist extraction (closes #26390) 2020-09-06 21:21:11 +02:00
Julian Kornberger
16c4f31c14 [youtube] Move comments into note field
This way they can be accessed externally.
2020-09-06 20:53:16 +02:00
Surkal
9d037f4f1d fix regex 2020-09-06 19:00:26 +02:00
Surkal
68b5101b48 [Lumni] Add new extractor 2020-09-06 18:43:14 +02:00
oleksis
6a7dee2451 Merge branch 'master' of https://github.com/ytdl-org/youtube-dl into PictaExtractor 2020-09-06 11:02:31 -04:00
Mattias Wadman
ca058603e5 [svt] Add timestamp and thumbnail in more cases
Add timestamp, set to "valid from" which i think could been seen as publish time.
Add thumbnail in more cases, seems to was only done in the embedded data case for some reason.
Update API URL (current one redirects to it).
Switch svtplay test url to an existing video and also one with no expire date.
Also add an additional thumbnail url test regex.
2020-09-06 11:15:17 +02:00
xarantolus
c4a1d0eef8 Merge branch 'fixYTSearch' of https://github.com/xarantolus/youtube-dl into fixYTSearch 2020-09-06 09:25:02 +02:00
xarantolus
bea9b00588 Fix regex for other variable declaration type
This now supports declarations like `window["ytInitialData"] = ...` and `var ytInitialData = ...`
2020-09-06 09:22:49 +02:00
xarantolus
f442082a50 [youtube] More general title extraction
Seems like this attribute is moved every few weeks, so we just extract both and use the one that is present.
2020-09-06 09:22:48 +02:00
xarantolus
1f93faf60b [youtube] Make ytcfg.set config extraction non-fatal
If the markup of the page changes in the future, it might be possible that _FEED_DATA still works, but the other regex does not. SInce it is not necessary for the first page of videos, we make sure the program doesn't exit before extracting them.

TL;DR: Extract the first video page even if there are problems
2020-09-06 09:22:47 +02:00
xarantolus
299056ad52 Fix python2 compatibility and title extraction 2020-09-06 09:22:47 +02:00
xarantolus
f536080701 Run formatter 2020-09-06 09:22:46 +02:00
xarantolus
5c430b67bd [youtube] Fix feed extraction
In order to extract videos from further pages, we need to get various variables that are in an argument to the `ytcfg.set` call in a script on the feed page.
2020-09-06 09:22:46 +02:00
xarantolus
e03b4f3e05 [youtube] Make search extraction less dependent on json schema.
If an object looks like a video (it has a `videoId` key), assume that it is.
2020-09-06 09:22:30 +02:00
xarantolus
19f671f88b [youtube] Move search URL extraction to appropriate extractor 2020-09-06 09:21:26 +02:00
xarantolus
b948643f9c [youtube] Fix extraction of search urls (closes ytdl-org/youtube-dl#25696) 2020-09-06 09:21:25 +02:00
Sergey M․
d51e23d9fc
release 2020.09.06 2020.09.06 2020-09-06 13:00:41 +07:00
Sergey M․
6cd452acff
[ChangeLog] Actualize
[ci skip]
2020-09-06 12:57:56 +07:00
Sergey M․
50e9fcc1fd
[nrktv:episode] Improve video id extraction (closes #25594, closes #26369, closes #26409) 2020-09-06 12:43:50 +07:00
Unknown
2045de7c32 [skip travis] bump version 2020-09-06 07:36:49 +02:00
random-nick
16ee69c1b7
[youtube] Fix age gate content detection (#26100) (closes #26152, closes #26311, closes #26384) 2020-09-06 11:44:53 +07:00
Sergey M
82128d2332
Update youtube.py 2020-09-06 11:39:33 +07:00
Sergey M․
67171ed7e9
[youtube:user] Extend _VALID_URL (closes #26443) 2020-09-06 11:31:28 +07:00
Unknown
419da738f3 [skip travis] exe related 2020-09-06 06:20:23 +02:00
Sergey M․
1d9bf655e6
[utils] Recognize wav mimetype (closes #26463) 2020-09-06 11:19:53 +07:00
TheRealDude2
62ae19ff76
[xhamster] Improve initials regex (#26526) (closes #26353) 2020-09-06 11:10:27 +07:00