xarantolus
94255fa0b1
[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-08-24 14:30:08 +02:00
xarantolus
7d743516b5
[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-08-24 14:29:16 +02:00
xarantolus
a5e386d9fe
Fix python2 compatibility and title extraction
2020-07-31 10:05:11 +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․
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
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
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
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
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
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
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․
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
Sergey M․
b477fc1314
[youtube] Fix thumbnails extraction and remove uploader id extraction warning ( closes #25676 )
2020-06-16 02:29:04 +07:00
Sergey M․
d84b21b427
[youtube] Fix playlist and feed extraction ( closes #25675 )
2020-06-16 02:01:12 +07:00
Sergey M․
84213ea8d4
[youtube] Extract chapters from JSON ( closes #24819 )
2020-06-06 04:22:10 +07:00
striker.sh
1db5ab6b34
[youtube] Add support for more invidious instances ( #25417 )
2020-05-27 01:26:45 +07:00
Juan Francisco Cantero Hurtado
384bf91f88
[youtube] Add support for yewtu.be ( #25226 )
2020-05-14 05:54:42 +07:00
Sergey M․
fa3db38333
[youtube] Improve signature cipher extraction ( closes #25188 )
2020-05-08 17:42:30 +07:00
Sergey M․
e40c758c2a
[youtube] Improve player id extraction and add tests
2020-05-02 07:18:08 +07:00
Sergey M․
011e75e641
[youtube] Use redirected video id if any ( closes #25063 )
2020-05-01 00:40:38 +07:00
Sergey M․
00eb865b3c
[youtube] Fix DRM videos detection (refs #24736 )
2020-04-11 23:05:08 +07:00
Sergey M․
6b09401b0b
[youtube] Skip broken multifeed videos ( closes #24711 )
2020-04-09 22:42:43 +07:00
Sergey M․
43ebf77df3
[youtube] Remove outdated code
...
Additional get_video_info requests don't seem to provide any extra itags any longer
2020-03-08 08:59:58 +07:00
Sergey M․
d332ec725d
[youtube] Improve age-gated videos extraction in 429 error conditions (refs #24283 )
2020-03-08 05:41:04 +07:00
Sergey M․
f93abcf1da
[youtube] Improve extraction in 429 error conditions ( closes #24283 )
2020-03-08 05:09:02 +07:00
Sergey M․
5429d6a9cb
[youtube] Fix tests
2020-03-06 00:05:50 +07:00
Sergey M․
dc879c5a37
[youtube] Fix age-gated videos support without login ( closes #24248 )
2020-03-05 23:48:25 +07:00
jxu
0e30a7b973
[youtube:playlist] Fix tests ( closes #23872 ) ( #23885 )
2020-03-03 01:46:00 +07:00
Sergey M․
c3cfea9068
[youtube] Fix sigfunc name extraction ( closes #23819 )
2020-01-24 04:09:10 +07:00
Remita Amine
66b4872747
[youtube] add support youtubekids.com( closes #23272 )
2019-11-30 17:51:34 +01:00
sofutru
76e510b92c
[youtube] Remove support for invidious.enkirton.net ( #22543 )
2019-10-04 19:01:03 +07:00
sofutru
894b3826f5
[youtube] Add support for yt.lelux.fi ( #22597 )
2019-10-04 18:52:15 +07:00
sofutru
33c1c7d80f
[youtube] Add support for owxfohz4kjyv25fvlqilyxast7inivgiktls3th44jhk3ej3i7ya.b32.i2p ( #22292 )
2019-09-25 02:43:34 +07:00
sofutru
666d808e70
[youtube] Add support for invidious.drycat.fr ( #22451 )
2019-09-24 23:16:46 +07:00
Sergey M․
4e3f1f0469
[youtube:playlist] Unescape playlist uploader ( closes #22483 )
2019-09-23 00:20:52 +07:00
Sergey M․
4878759f3b
[youtube] Remove quality and tbr for itag 43 ( closes #22372 )
2019-09-12 02:46:12 +07:00
Sergey M․
bf1317d257
[youtube] Quick extraction tempfix ( closes #22367 , closes #22163 )
2019-09-11 22:44:47 +07:00
sofutru
bff90fc518
[youtube] Add support for invidious tor instances ( #22268 )
2019-09-03 01:35:32 +07:00
sofutru
494d664e67
[youtube] Add support for invidious.nixnet.xyz and yt.elukerio.org ( #22223 )
2019-08-28 01:39:59 +07:00
Sergey M․
0add33abcb
[youtube] Improve unavailable message extraction (refs #22117 )
2019-08-16 23:44:11 +07:00