Commit graph

18445 commits

Author SHA1 Message Date
Julien Hadley Jack
abb41d6430 [ondemandkorea] add extractor error for odk premium content 2020-08-02 20:59:18 +02:00
Aakash Gajjar
b19eec0d33
[fix] python 2 "url" field is missing or empty
`try_get` fails for `expected_type=str`, because in python 2
string has `unicode` type.

This commit removes the `expected_type` to disable the comparison.
2020-08-01 11:57:52 +05:30
xarantolus
2ad7b6ace9 Merge branch 'fixYTSearch' of https://github.com/xarantolus/youtube-dl into fixYTSearch 2020-07-31 10:05:19 +02:00
xarantolus
a5e386d9fe Fix python2 compatibility and title extraction 2020-07-31 10:05:11 +02:00
Philipp
d39cf56210
Merge branch 'master' into fixYTSearch 2020-07-30 16:41:07 +02:00
xarantolus
4f37c60bf5 Run formatter 2020-07-30 16:38:56 +02:00
xarantolus
c449f70965 [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-07-30 16:34:48 +02:00
Sergey M․
de722d3cd7 release 2020.07.28 2020-07-28 15:34:32 +02:00
Sergey M․
f4492c4890 [ChangeLog] Actualize
[ci skip]
2020-07-28 15:34:32 +02:00
Sergey M․
49004a6b59 [youtube] Fix sigfunc name extraction (closes #26134, closes #26135, closes #26136, closes #26137) 2020-07-28 15:34:32 +02:00
MRWITEK
54ffcbb8eb [youtube] Improve description extraction (closes #25937) (#25980) 2020-07-28 15:34:32 +02:00
Sergey M․
9fa728f4e8 [wistia] Restrict embed regex (closes #25969) 2020-07-28 15:34:31 +02:00
Glenn Slayden
bb2c950b8e [youtube] Prevent excess HTTP 301 (#25786) 2020-07-28 15:34:31 +02:00
Sergey M․
255f31b5cb [youtube:playlists] Extend _VALID_URL (closes #25810) 2020-07-28 15:34:31 +02:00
Remita Amine
2bd94127a2 [bellmedia] add support for cp24.com clip URLs(closes #25764) 2020-07-28 15:34:30 +02:00
Sergey M․
a4ed50bb84
release 2020.07.28 2020-07-28 05:13:03 +07:00
Sergey M․
570611955f
[ChangeLog] Actualize
[ci skip]
2020-07-28 05:07:54 +07:00
Sergey M․
e450f6cb63
[youtube] Fix sigfunc name extraction (closes #26134, closes #26135, closes #26136, closes #26137) 2020-07-28 05:05:38 +07:00
random-nick
cae18ef8f2 [youtube] Fix age gate detection 2020-07-25 13:36:26 +02:00
Julien Hadley Jack
efef17148f [ondemandkorea] fix jw_config regex extraction; change title and description extraction (closes #23926) 2020-07-18 10:03:15 +02:00
MRWITEK
a115e07594
[youtube] Improve description extraction (closes #25937) (#25980) 2020-07-14 12:01:15 +01:00
Sergey M․
718393c632
[wistia] Restrict embed regex (closes #25969) 2020-07-11 18:27:19 +07:00
xarantolus
7fa0a67cc1 Remove unused variable 2020-07-10 11:50:50 +02:00
xarantolus
c37ca4732b [youtube] Remote download limit 2020-07-10 11:47:13 +02:00
Josu Moreno
2c7088b59a Add extraction logic to mitele for videos not based in ooyala 2020-07-01 21:17:34 +02:00
Glenn Slayden
07af16b92e
[youtube] Prevent excess HTTP 301 (#25786) 2020-07-01 02:56:16 +07:00
Sergey M․
e942cfd1a7
[youtube:playlists] Extend _VALID_URL (closes #25810) 2020-06-28 10:30:03 +07:00
martin54
e6e5d98cdb [ard.py] add playlist support 2020-06-25 01:33:19 +02:00
Remita Amine
9a7e5cb88a [bellmedia] add support for cp24.com clip URLs(closes #25764) 2020-06-23 15:09:13 +01:00
xarantolus
5cbe7563be [youtube] Return to old feed extraction code as it *seems* like that change was reverted
The old code now works again, but it downloads without limit. This is why a limit of 1000 videos is added, it can be overwritten with the `--max-downloads` option - that way, only so many ids will be extracted as videos downloaded
2020-06-23 11:27:02 +02:00
Alex Merkel
f6513e1a93
[postprocessor/embedthumbnail] Replace % with _ in ffmpeg image output path 2020-06-23 10:25:04 +02:00
xarantolus
6a3cc89394 [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-06-23 08:56:21 +02:00
Alex Merkel
6011dd9539
[postprocessor/embedthumbnail] Fix comments to make flake8 happy 2020-06-21 12:16:45 +02:00
Alex Merkel
ac0ad4f91d
[postprocessor/embedthumbnail] Close file before possible renaming 2020-06-21 12:06:01 +02:00
Alex Merkel
e987deb504
[postprocessor/embedthumbnail] Add detection for mislabeled WebP files 2020-06-21 11:53:22 +02:00
xarantolus
b3fd4b155e run flake8 2020-06-21 09:41:42 +02:00
xarantolus
57f72370c5 [youtube] Fix feed extraction
This moves feed extraction from using html content to json metadata. However, loading additional pages no longer works.

The _extract_video_info function also returns a continuation object that contains some metadata that - together with an API key that is in the page source - might be used to request the next page.
2020-06-21 09:31:04 +02:00
xarantolus
6dad89289c [youtube] Move search URL extraction to appropriate extractor 2020-06-19 21:29:47 +02:00
xarantolus
7a74feda78 [youtube] Fix extraction of search urls (closes ytdl-org/youtube-dl#25696) 2020-06-19 14:57:57 +02:00
Alex Merkel
777d5a45be
[postprocessor/embedthumbnail] Add conversion for non JPG/PNG images 2020-06-18 22:36:44 +02:00
Sergey M․
2391941f28
[brightcove] Improve embed detection (closes #25674) 2020-06-16 17:38:25 +07:00
Sergey M․
9ff6165a81
release 2020.06.16.1 2020-06-16 06:22:01 +07:00
Sergey M․
1c748722f9
[ChangeLog] Actualize
[ci skip]
2020-06-16 06:19:23 +07:00
Sergey M․
ee0b726cd7
[youtube] Force old layout (closes #25682, closes #25683, closes #25680, closes #25686) 2020-06-16 06:17:53 +07:00
Sergey M․
dbeafce5d5
[youtube] Fix categories and improve tags extraction 2020-06-16 03:13:39 +07:00
Sergey M․
ed604ce7bc
release 2020.06.16 2020-06-16 02:53:33 +07:00
Sergey M․
7adc7ca547
[ChangeLog] Actualize
[ci skip]
2020-06-16 02:52:09 +07:00
Sergey M․
a6211d237b
[youtube] Fix uploader id and uploader URL extraction 2020-06-16 02:43:09 +07:00
Sergey M․
7b16239a49
[youtube] Improve view count extraction 2020-06-16 02:38:45 +07:00
Sergey M․
37357d21a9
[youtube] Fix upload date extraction 2020-06-16 02:37:19 +07:00