pukkandan
8fc54b1230
[youtube] Add shorts
to _VALID_URL
...
Normally the generic extractor will redirect the URL,
but the cookies consent screen may sometimes appear instead
Closes #752
2021-08-23 00:50:42 +05:30
pukkandan
5ad28e7ffd
[extractor] Common function _match_valid_url
2021-08-23 00:50:40 +05:30
coletdjnz
641ad5d813
[youtube] Extract error messages from HTTPError response ( #644 )
...
Authored by: coletdjnz
2021-08-13 11:48:26 +05:30
PSlava
858a65ecc1
[youtube] Improve signature function detection ( #641 )
...
Authored by: PSlava (Slava <slash@i-slash.com>)
2021-08-08 09:24:37 +05:30
pukkandan
379e44ed3c
[youtube] Raise appropriate error when API pages can't be downloaded
2021-08-07 21:17:06 +05:30
pukkandan
57015a4a3f
[youtube] extractor-arg to show live dash formats
...
If replay is enabled, these formats can be used to download the last 4 hours
2021-08-07 12:47:54 +05:30
pukkandan
cf87314d4e
[youtube] Extract SAPISID only once
2021-08-02 08:00:08 +05:30
David
e7e94f2a5c
[youtube] Add age-gate bypass for unverified accounts ( #600 )
...
Adds `_creator` variants for each client
Authored by: zerodytrash, colethedj, pukkandan
2021-08-02 02:43:46 +05:30
coletdjnz
eca330cb88
[youtube] Fix default global API key
...
bug introduced in 000c15a4ca
2021-08-01 06:12:26 +00:00
pukkandan
3619f78d2c
[youtube] Misc cleanup ( #577 )
...
Authored by: pukkandan, colethedj
2021-07-31 03:01:49 +05:30
pukkandan
65c2fde23f
[youtube] Add thirdParty
to agegate clients ( #577 )
...
* This allows more videos like `tf2U5Vyj0oU` to become embeddable
See https://github.com/yt-dlp/yt-dlp/pull/575#issuecomment-888837000
* Also added tests for all types of age-gate
Closes #581
2021-07-31 02:20:21 +05:30
pukkandan
000c15a4ca
[youtube] simplify and de-duplicate client definitions ( #577 )
2021-07-31 02:14:15 +05:30
colethedj
9275f62cf8
[youtube] Improve age-gate detection ( #577 )
...
Authored by: colethedj
2021-07-31 02:13:55 +05:30
coletdjnz
6552469433
[youtube] Force hl=en
for comments ( #594 )
...
Closes #532
2021-07-31 01:06:00 +05:30
MinePlayersPE
c0bc527bca
[YouTube] Age-gate bypass implementation ( #575 )
...
* Calling the API with `clientScreen=EMBED` allows access to most age-gated videos - discovered by @ccdffddfddfdsfedeee (https://github.com/yt-dlp/yt-dlp/issues/574#issuecomment-887171136 )
* Adds clients: (web/android/ios)_(embedded/agegate), mweb_embedded
* Renamed mobile_web to mweb
Closes #574
Authored by pukkandan, MinePlayersPE
2021-07-27 15:10:44 +05:30
pukkandan
2a9c6dcd22
[youtube] Fix format sorting when using alternate clients
2021-07-26 03:50:13 +05:30
coletdjnz
5a1fc62b41
[youtube] Add mobile_web
client ( #557 )
...
Authored by: colethedj
2021-07-26 03:48:36 +05:30
pukkandan
b4c055bac2
[youtube] Add player_client=all
2021-07-26 03:38:18 +05:30
pukkandan
f703a88055
Release 2021.07.24
2021-07-24 07:03:14 +05:30
pukkandan
a353beba83
[youtube:tab] Extract video duration early
...
Based on: https://github.com/ytdl-org/youtube-dl/pull/29487 by glenn-slayden
2021-07-24 06:59:20 +05:30
pukkandan
052e135029
[youtube] Simplify _get_text
early
2021-07-24 06:59:20 +05:30
pukkandan
3944e7af92
[youtube] Fix subtitles only being extracted from the first client
...
Closes #547
2021-07-23 09:46:55 +05:30
pukkandan
ad34b2951e
Try all clients even if age-gated
...
Reverts: 892e31ce7c
If some API calls have any issue, saving the state will cause unnecessary errors
2021-07-23 09:46:54 +05:30
pukkandan
c8fa48fd94
[youtube] Disable get_video_info
age-gate workaround
...
This now seems to be completely dead
Closes : #553
2021-07-23 09:46:52 +05:30
coletdjnz
2fd226f6a7
[youtube] Fix age-gated videos for API clients when cookies are supplied ( #545 )
...
Fixes #543
Authored by: colethedj
2021-07-22 08:11:04 +00:00
pukkandan
245524e6a3
Release 2021.07.21
...
and fix some typos
Closes #538
2021-07-22 02:33:28 +05:30
pukkandan
9c0d7f4951
[youtube] Make --extractor-retries
work for more errors
...
Closes #507
2021-07-22 02:32:20 +05:30
coletdjnz
c926c9541f
[youtube] Add debug message for SAPISID cookie extraction ( #540 )
...
Authored by: colethedj
2021-07-21 20:45:05 +00:00
Matt Broadway
982ee69a74
Add option --cookies-from-browser
to load cookies from a browser ( #488 )
...
* also adds `--no-cookies-from-browser`
Original PR: https://github.com/ytdl-org/youtube-dl/pull/29201
Authored by: mbway
2021-07-22 02:02:49 +05:30
pukkandan
7ea6541124
[youtube] Improve extraction of livestream metadata
...
Modified from and closes #441
Authored by: pukkandan, krichbanana
2021-07-21 20:50:59 +05:30
pukkandan
352d63fdb5
[utils] Improve traverse_obj
2021-07-21 11:30:06 +05:30
pukkandan
11f9be0912
[youtube] Extract data from multiple clients ( #536 )
...
* `player_client` accepts multiple clients
* default `player_client` = `android,web`
* music clients can be specifically requested
* Add IOS `player_client`
* Hide live dash since they can't be downloaded
Closes #501
Authored-by: pukkandan, colethedj
2021-07-21 09:22:34 +05:30
coletdjnz
a1a7907bc0
[youtube] Fix controversial videos when requested via API ( #533 )
...
Closes: https://github.com/yt-dlp/yt-dlp/issues/511#issuecomment-883024350
Authored by: colethedj
2021-07-20 23:31:28 +05:30
pukkandan
d61fc64618
[youtube:tab] Fix channels tab
2021-07-20 23:22:34 +05:30
pukkandan
da503b7a52
[youtube] Make parse_time_text
and _extract_chapters
non-fatal
...
Related: #532 , 7c365c2109
2021-07-20 07:22:26 +05:30
pukkandan
7c365c2109
[youtube] Sanity check chapters
(and refactor related code)
...
Closes #520
2021-07-20 05:39:02 +05:30
pukkandan
cca80fe611
[youtube] Extract even more thumbnails and reduce testing
...
* Also fix bug where `_test_url` was being ignored
Ref: https://stackoverflow.com/a/20542029
Related: #340
2021-07-20 03:46:06 +05:30
pukkandan
0ba692acc8
[youtube] Extract more thumbnails
...
* The thumbnail URLs are hard-coded and their actual existence is tested lazily
* Added option `--no-check-formats` to not test them
Closes #340 , Related: #402 , #337 , https://github.com/ytdl-org/youtube-dl/issues/29049
2021-07-20 02:42:11 +05:30
coletdjnz
fe93e2c4cf
[youtube] misc cleanup and bug fixes ( #505 )
...
* Update some `_extract_response` calls to keep them consistent
* Cleanup continuation extraction related code using new API format
* Improve `_extract_account_syncid` to support multiple parameters
* Generalize `get_text` and related functions into one
* Update `INNERTUBE_CONTEXT_CLIENT_NAME` with integer values
Authored by: colethedj
2021-07-19 10:25:07 +05:30
coletdjnz
314ee30548
[youtube] Fix session index extraction and headers for non-web player clients ( #526 )
...
Fixes #522
2021-07-18 06:23:32 +00:00
coletdjnz
34917076ad
[youtube] Fix authentication when using multiple accounts
...
`SESSION_INDEX` in `ytcfg` is the index of the active account and should be sent as `X-Goog-AuthUser` header
Closes #518
Authored by @colethedj
2021-07-17 11:50:05 +05:30
coletdjnz
47193e0298
[youtube:tab] Extract playlist availability ( #504 )
...
Authored by: colethedj
2021-07-15 02:42:30 +00:00
coletdjnz
49bd8c66d3
[youtube:comments] Improve comment vote count parsing ( fixes #506 ) ( #508 )
...
Authored by: colethedj
2021-07-14 23:24:42 +00:00
coletdjnz
c888ffb95a
[youtube] Use android client as default and add age-gate bypass for it ( #492 )
...
Authored by: colethedj
2021-07-14 03:58:51 +05:30
coletdjnz
9752433221
[youtube:comments] Fix is_favorited
( #491 )
...
Authored by colethedj
2021-07-12 06:50:03 +05:30
coletdjnz
2d6659b9ea
[youtube:comments] Move comment extraction to new API ( #466 )
...
Closes #438 , #481 , #485
Authored by: colethedj
2021-07-12 04:48:40 +05:30
pukkandan
60bdb7bd9e
[youtube] Fix sorting of 3gp format
2021-07-08 22:33:33 +05:30
pukkandan
4bb6b02f93
Improve extractor_args
parsing
2021-07-08 21:22:35 +05:30
krichbanana
f6745c4980
[Youtube] Choose correct Live chat API for upcoming streams ( #460 )
...
Authored by: krichbanana
2021-07-02 05:59:29 +05:30
coletdjnz
109dd3b237
[youtube] Use new API for additional video extraction requests ( #328 )
...
Co-authored-by: colethedj, pukkandan
Closes https://github.com/yt-dlp/yt-dlp/issues/427
Workarounds for https://github.com/ytdl-org/youtube-dl/issues/29326 , https://github.com/yt-dlp/yt-dlp/issues/319 , https://github.com/ytdl-org/youtube-dl/issues/29086
2021-06-29 22:07:49 +00:00
coletdjnz
45261e063b
[youtube:comments] Fix error handling and add itct
to params ( #446 )
...
Should close #439 (untested)
Authored by: colethedj
2021-06-25 23:31:10 +05:30
pukkandan
49c258e18d
[youtube] Fix subtitle names for age-gated videos
...
Related: https://github.com/iv-org/invidious/pull/2205#issuecomment-868680486
2021-06-25 23:10:31 +05:30
pukkandan
5d3a0e794b
Add --extractor-args
to pass extractor-specific arguments
2021-06-25 20:10:28 +05:30
pukkandan
ed807c1837
Update to ytdl-commit-379f52a
...
[liveleak] Remove extractor
379f52a495
2021-06-23 07:34:55 +05:30
siikamiika
c60ee3a218
[youtube_live_chat] Support ongoing live chat ( #422 )
...
Authored by: siikamiika
2021-06-23 05:42:39 +05:30
pukkandan
4e6767b5f2
[youtube] Temporary fix for age-gate
...
Related:
https://stackoverflow.com/a/67629882
https://github.com/yt-dlp/yt-dlp/issues/319
https://github.com/ytdl-org/youtube-dl/issues/29333
https://github.com/ytdl-org/youtube-dl/issues/29086
2021-06-18 20:32:52 +05:30
pukkandan
45db527fa6
[youtube] Login is not needed for :ytrec
2021-06-13 03:45:53 +05:30
coletdjnz
4ba001080f
[youtube] Non-fatal alert reporting for unavailable videos page ( #401 )
...
Co-Authored by: colethedj, pukkandan
2021-06-10 21:12:56 +00:00
coletdjnz
1974e99f4b
[youtube] Improve SAPISID cookie handling ( closes #393 ) ( #395 )
...
Author: colethedj
2021-06-10 21:02:57 +00:00
pukkandan
bea742222f
[youtube] Support shorts URL
...
Closes #375
2021-06-06 00:59:04 +05:30
pukkandan
46953e7e6e
[youtube:playlist] fix bug
2021-05-29 02:31:13 +05:30
pukkandan
8d68ab98a7
[youtube] Fix bug where not all hls formats were extracted
...
Bug introduced in 9297939ec3
2021-05-23 03:53:17 +05:30
pukkandan
09f1580e2d
[youtube] /live
URLs should raise error if channel is not live
...
Fixes: https://github.com/ytdl-org/youtube-dl/issues/29090
2021-05-21 20:05:54 +05:30
coletdjnz
00ae27690d
[youtube] Add html5=1
param to get_video_info
page requests ( #329 )
...
Workaround for #319 , https://github.com/ytdl-org/youtube-dl/issues/29086
Authored by: colethedj
2021-05-20 15:56:57 +05:30
pukkandan
9d5d4d64f8
[youtube] Better message when login required
2021-05-20 15:55:55 +05:30
pukkandan
d3fc8074a4
[youtube] Sort audio-only formats correctly
...
Closes #317
2021-05-19 18:29:20 +05:30
pukkandan
07cce701de
[cleanup] linter, code formatting and readme
2021-05-19 16:48:20 +05:30
pukkandan
ff2751ac9c
[youtube] Always extract maxresdefault
thumbnail
...
Fixes: https://github.com/ytdl-org/youtube-dl/issues/29049
2021-05-18 19:31:17 +05:30
pukkandan
abcdd12b26
[youtube:tab] Support youtube music MP
pages
2021-05-18 19:31:08 +05:30
pukkandan
18db754858
[youtube:tab] Redirect UC
channels that doesn't have a videos
tab
...
Many topic URLs don't have a videos tab, but has an equivalent `UU` playlist.
If there is no playlist, fallback to using channel page
2021-05-18 19:31:07 +05:30
pukkandan
fe03a6cdc8
[youtube:tab] Support youtube music VL
and browse
pages
2021-05-18 19:31:06 +05:30
pukkandan
cd684175ad
[youtube:tab] Support channel search
...
Fixes: https://github.com/ytdl-org/youtube-dl/issues/29071
2021-05-18 19:30:21 +05:30
pukkandan
da692b7920
[cleanup] youtube tests
2021-05-18 18:10:15 +05:30
pukkandan
95c01b6c16
[youtube:tab] Show alerts only from the final webpage
2021-05-18 18:09:04 +05:30
pukkandan
a06916d98e
[extractor] Add write_debug
and get_param
2021-05-17 18:59:51 +05:30
coletdjnz
9297939ec3
[Youtube] Extract more formats for music.youtube
URLs ( #311 )
...
Based on: https://github.com/ytdl-org/youtube-dl/pull/28778 , https://github.com/ytdl-org/youtube-dl/pull/26160
Co-authored-by: craftingmod, colethedj, pukkandan
2021-05-15 20:08:47 +05:30
pukkandan
774d79cc4c
[youtube] Add language names
...
Co-authored by: nixxo, tpikonen
Based on: https://github.com/ytdl-org/youtube-dl/pull/26112
Closes : #310
2021-05-15 19:27:53 +05:30
pukkandan
120916dac2
[youtube] multiple subtitles in same language
...
Fixes: https://github.com/ytdl-org/youtube-dl/issues/21164
Related: #310 , https://github.com/ytdl-org/youtube-dl/pull/26112
2021-05-15 19:27:48 +05:30
pukkandan
0fb983f62d
[youtube] Extract audio language
2021-05-14 13:15:48 +05:30
pukkandan
53ed7066ab
Option --compat-options
to revert some of yt-dlp's changes
...
* Deprecates `--list-formats-as-table`, `--list-formats-old`
2021-05-11 13:30:48 +05:30
pukkandan
68b91dc905
[youtube] Add oembed
to reserved names
2021-05-01 21:24:31 +05:30
pukkandan
e28f1c0ae8
[cleanup] Fix linter and some typos
...
* Also remove inconsistent use of `"` in setup.py
2021-04-28 19:59:40 +05:30
pukkandan
895b0931e5
[youtube:tab] Detect playlists inside community posts
2021-04-28 19:18:06 +05:30
pukkandan
1bdae7d312
Update to ytdl-commit-7e8b3f9
...
[youtube] Remove unused code
7e8b3f9439
2021-04-22 16:54:07 +05:30
pukkandan
8c54a3051d
[youtube] Bugfix in _extract_ytcfg
2021-04-21 10:37:24 +05:30
pukkandan
201c145953
Update to ytdl-commit-9f6c03
...
[cbsnews] Fix extraction for python <3.6
9f6c03a006
2021-04-17 08:40:31 +05:30
pukkandan
5d34200268
[youtube:tab] Reload with unavailable videos for all playlists
...
If the unavailable video is in a later page, the warning and button are not shown in the initial webpage
So we force all playlists' initial page to reload with the correct params
2021-04-17 08:40:30 +05:30
pukkandan
b7da73eb19
Add option --ignore-no-formats-error
...
* Ignores the "no video format" and similar errors
* Experimental - Some extractors may still throw these errors
2021-04-17 08:40:30 +05:30
pukkandan
6a39ee13f7
Fix inconsistent use of report_warning
2021-04-17 04:16:41 +05:30
coletdjnz
358de58c4d
[youtube:tab] Show unavailable videos in playlists ( #242 )
...
Closes #231
Authored by: colethedj
2021-04-17 04:09:08 +05:30
coletdjnz
79360d99d3
[youtube] Standardize API calls for tabs, mixes and search ( #245 )
...
Authored by: colethedj
2021-04-15 16:52:59 +05:30
pukkandan
46fff7105e
[youtube] Ignore invalid stretch ratio
...
Closes #244
2021-04-14 15:22:17 +05:30
coletdjnz
8ea3f7b909
[youtube] Improve channel syncid extraction to support ytcfg ( #241 )
...
Authored by: colethedj
2021-04-14 10:37:03 +05:30
coletdjnz
f4f751af40
[youtube] Parse API parameters from initial webpage ( #230 )
...
* Obtain innertube_context, api_key and x-goog-visitor-id from webpage
* Generalize the header & Innertube_context extraction across YouTube extractors
Related: 1b0a13f33c
Authored by: colethedj
2021-04-12 01:53:04 +05:30
pukkandan
1988fab7e3
[youtube] Fix thumbnail URL
...
Closes: https://github.com/yt-dlp/yt-dlp/issues/233 https://github.com/ytdl-org/youtube-dl/issues/28023
2021-04-11 06:06:13 +05:30
pukkandan
f7ad71607d
Update to ytdl-commit-4fb25ff
...
[maoritv] Add new extractor
4fb25ff5a3
Except:
[vimeo] improve extraction 3ae9c0f410
[youtube:tab] Pass innertube context... 1b0a13f33c
2021-04-10 22:19:54 +05:30
pukkandan
3ffc7c89b0
[youtube] Fix _extract_alerts
...
* Sometimes one warning is split between multiple runs
* Also simplified code
2021-04-10 20:57:27 +05:30
coletdjnz
d92f5d5a90
[youtube] Extract comments' approximate timestamp ( #221 )
...
Authored by: colethedj
2021-04-07 17:09:06 +05:30
pukkandan
39ed931e53
Update to ytdl-commit-654b4f4
...
[youtube] prioritize information from YoutubeIE for playlist entries
654b4f4ff2
2021-04-04 03:49:04 +05:30
Matthew
b28f8d244a
[YouTube] Show premium state in availability
( #209 )
...
Authored by colethedj
2021-04-03 14:20:58 +05:30
pukkandan
b050d210df
Fix some typos and linter
2021-04-01 14:16:10 +05:30
pukkandan
cce889b900
Update to ytdl v2021-04-01
...
14f29f087e
Closes #205
2021-04-01 13:59:22 +05:30
pukkandan
1418a0437f
Update to ytdl-commit-8562218
...
[ard] improve clip id extraction
8562218350
2021-03-25 04:09:21 +05:30
pukkandan
394dcd4486
Write current epoch to infojson when using --no-clean-infojson
...
Closes #191
2021-03-24 00:34:33 +05:30
pukkandan
83b20a970d
[youtube_live_chat] fix bug when trying to set cookies
...
Closes #194
2021-03-23 17:53:36 +05:30
Matthew
c224251aad
[youtube] Show if video is private
, unlisted
etc in new field availability
( #188 )
...
Closes : #185 , https://github.com/ytdl-org/youtube-dl/issues/25631
Authored by: colethedj, pukkandan
2021-03-22 02:58:41 +05:30
pukkandan
e3c076970e
[youtube] bugfix for channel playlist extraction
...
Bug introduced in cd7c66cf01
2021-03-17 17:35:02 +05:30
Matthew
a1c5d2ca64
[Youtube] Rewrite comment extraction ( #167 )
...
Closes #121
TODO:
* Add an option for the user to specify newest/popular and max number of comments
* Refactor the download code and generalize with TabIE
* Parse time_text to timestamp
2021-03-15 04:11:11 +05:30
pukkandan
2be71994c0
[youtube] Detect when Mixes end or wrap around
2021-03-07 11:04:57 +05:30
pukkandan
26fe8ffed0
[youtube] Fix community page continuation ( Closes #152 )
2021-03-07 11:04:55 +05:30
Matthew
d069eca7a3
[Youtube] Fix private feeds/playlists on multi-channel accounts ( #143 )
...
Authored by: colethedj
2021-03-05 19:29:14 +05:30
Matthew
f3eaa8dd1c
[Youtube] Extract alerts from continuation ( #144 )
...
Related: #143
Authored by: colethedj
2021-03-05 15:37:32 +05:30
pukkandan
cd7c66cf01
[youtube] Fix history, trending and mix playlists ( #136 )
...
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: Matthew <colethedj@protonmail.com>
2021-03-04 23:35:26 +05:30
Matthew
a5c5623470
[YouTube] Use new browse API for continuation page extraction. ( #131 )
...
Known issues (these issues existed in previous API as well)
* Mix playlists only give 1 page (25 vids)
* Trending only gives 1 video
* History gives 5 pages (200 vids)
Co-authored-by: colethedj, pukkandan
2021-03-03 16:02:40 +05:30
pukkandan
c705177da2
[youtube] Throw error when --extractor-retries
are exhausted ( Closes #130 )
2021-03-03 03:05:31 +05:30
pukkandan
5ef7d9bdd8
Release 2021.03.01
2021-03-01 05:39:50 +05:30
pukkandan
62bff2c170
Add option --extractor-retries
to retry on known extractor errors
...
* Currently only used by youtube
Fixes https://github.com/ytdl-org/youtube-dl/issues/28194
Possibly also fixes: https://github.com/ytdl-org/youtube-dl/issues/28289 (can not confirm since the issue isn't reliably reproducible)
2021-03-01 05:18:37 +05:30
pukkandan
277d6ff5f2
Extract comments only when needed #95 ( Closes #94 )
2021-02-28 20:26:08 +05:30
pukkandan
b3d1242534
[youtube] Fix inconsistent webpage_url
( closes #119 )
2021-02-27 14:45:56 +05:30
pukkandan
14fdfea973
[youtube] Retry on incomplete ytInitialData
...
Related: #116
2021-02-26 03:23:08 +05:30
pukkandan
7c60c33efe
Update to ytdl-commit-4460329
...
44603290e5
Except: gedi, tmz
7422a2194f
8cb4b71909
d81421af4b
2021-02-25 02:29:47 +05:30
Pccode66
7a5c1cfe93
Completely change project name to yt-dlp ( #85 )
...
* All modules and binary names are changed
* All documentation references changed
* yt-dlp no longer loads youtube-dlc config files
* All URLs changed to point to organization account
Co-authored-by: Pccode66
Co-authored-by: pukkandan
2021-02-25 00:15:56 +05:30