pukkandan
b505e8517a
[extractor/youtube] Fallback regex for nsig code extraction
2022-09-01 16:46:32 +05:30
coletdjnz
1ff88b7aec
[extractor/youtube] Add no-youtube-prefer-utc-upload-date
compat option ( #4771 )
...
This option reverts 992f9a730b
and 17322130a9
to prefer the non-UTC upload date in microformats.
Authored by: coletdjnz, pukkandan
2022-09-01 10:02:28 +00:00
pukkandan
da4db748fa
[utils] Add deprecation_warning
...
See https://github.com/yt-dlp/yt-dlp/pull/2173#issuecomment-1097021515
2022-08-30 21:03:07 +05:30
pukkandan
d81ba7d491
[jsinterp, extractor/youtube] Minor fixes
2022-08-30 18:13:37 +05:30
pukkandan
c4b2df872d
[jsinterp] Fix _separate
...
Ref: https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1231126941
2022-08-30 16:06:40 +05:30
Samantaz Fox
224b5a35f7
[extractor/youtube] Update iOS Innertube clients ( #4792 )
...
Authored by: SamantazFox
2022-08-29 03:36:55 +00:00
coletdjnz
50ac0e5416
[extractor/youtube] Use device-specific user agent ( #4770 )
...
Thwart latest fingerprinting attempt (see https://github.com/iv-org/invidious/issues/3230#issuecomment-1226887639 )
Authored by: coletdjnz
2022-08-28 22:59:54 +00:00
pukkandan
5e01315aa1
[cache, extractor/youtube] Invalidate old cache
2022-08-27 07:25:14 +05:30
pukkandan
992dc6b486
[jsinterp] Implement timeout
...
Workaround for #4716
2022-08-22 06:19:06 +05:30
pukkandan
b25cac650f
[extractor/youtube] Fix bug in format sorting
2022-08-21 00:56:27 +05:30
pukkandan
90a1df305b
[test] Fix test_youtube_signature
2022-08-21 00:51:03 +05:30
pukkandan
a831c2ea90
[cleanup] Misc
2022-08-19 05:08:21 +05:30
pukkandan
25836db6be
[extractor/youtube] Add fallback to phantomjs
...
Related #4635
2022-08-18 21:35:18 +05:30
pukkandan
580ce00782
[youtube] Improve signature caching
...
and refactor related functions
2022-08-18 21:33:30 +05:30
pukkandan
f6ca640b12
[jsinterp] Fix for youtube player 1f7d5369
...
Closes #4635 again
2022-08-18 16:38:35 +05:30
pukkandan
3ce2933693
[youtube] Fix error reporting of "Incomplete data"
...
Related: #4669
2022-08-16 22:01:48 +05:30
pukkandan
5c6d2ef9d1
[youtube] Improve format sorting for IOS formats
...
When no itag/resolution is available for reference, use the closest resolution
2022-08-15 14:04:05 +05:30
Lesmiscore
62b58c0936
[docs] Consistent use of e.g.
( #4643 )
...
Authored by: Lesmiscore
2022-08-14 17:34:13 +05:30
pukkandan
8f53dc44a0
[jsinterp] Handle new youtube signature functions
...
Closes #4635
2022-08-14 05:12:32 +05:30
pukkandan
7e798d725e
[extractor] Fix format sorting of channels
2022-08-11 07:23:46 +05:30
coletdjnz
c7dcf0b31e
[extractor/youtube] Add androidSdkVersion
parameter to Android Innertube clients
...
Required to prevent YouTube returning a bad player response in some cases.
See: https://github.com/yt-dlp/yt-dlp/pull/4593 , https://github.com/TeamNewPipe/NewPipe/issues/8713 , https://github.com/iv-org/invidious/issues/3230 , https://github.com/Tyrrrz/YoutubeExplode/issues/647
Authored by: coletdjnz
2022-08-08 12:03:10 +12:00
pukkandan
a416623436
[extractor/youtube] Extract more format info
2022-08-08 01:47:07 +05:30
coletdjnz
a3e9642116
[extractor/youtube] Prevent redirect to unwanted videos ( #4593 )
...
Example: https://www.youtube.com/watch?v=aQvGIIdgFDM
Authored by: coletdjnz
2022-08-07 19:13:20 +05:30
coletdjnz
a0c830f488
[extractor/youtube] Bump Innertube client versions
...
YouTube may be requiring new versions soon. See https://github.com/iv-org/invidious/issues/3230 , https://github.com/TeamNewPipe/NewPipe/issues/8713
Authored by: coletdjnz
2022-08-02 19:02:05 +12:00
pukkandan
be5c1ae862
Standardize retry mechanism ( #1649 )
...
* [utils] Create `RetryManager`
* Migrate all retries to use the manager
* [extractor] Add wrapper methods for convenience
* Standardize console messages for retries
* Add `--retry-sleep` for extractors
2022-08-02 01:43:18 +05:30
pukkandan
bfd973ece3
[extractors] Use new framework for existing embeds ( #4307 )
...
`Brightcove` is difficult to migrate because it's subclasses may depend
on the signature of the current functions. So it is left as-is for now
Note: Tests have not been migrated
2022-08-02 01:08:16 +05:30
pukkandan
f2e8dbcc00
[extractor, test] Basic framework for embed tests ( #4307 )
...
and split download tests so they can be more easily run in CI
Authored by: coletdjnz
2022-08-02 01:08:16 +05:30
lazypete365
e325a21a1f
[extractor/youtube] Add live_status=post_live
( #4495 )
...
Related: https://github.com/yt-dlp/yt-dlp/issues/1564
Authored by: lazypete365
2022-08-01 01:42:04 +05:30
pukkandan
31b532a1f2
[cleanup] Misc
2022-07-31 03:35:16 +05:30
pukkandan
c646d76f67
[webvtt, extractor/youtube] Extract auto-subs from livestream VODs
...
Closes #4130
Authored by: pukkandan, fstirlitz
2022-07-31 02:20:11 +05:30
pukkandan
07b47084ba
[extractor/youtube] Parse translated subtitles only when requested
...
Closes #4274
2022-07-31 02:20:11 +05:30
pukkandan
693f060040
[youtube,twitch] Allow waiting for channels to become live
...
Closes #2597
2022-07-26 09:33:19 +05:30
ftk
45e8a04e48
[extractor/youtube] More metadata for storyboards ( #4334 )
...
Authored by: ftk
2022-07-12 20:46:45 +05:30
pukkandan
a3fb1ca5ab
[extractor/youtube] Fix duration check for post-live manifestless mode
2022-07-10 09:59:32 +05:30
Andrew
12a1b2254d
[extractor/youtube, cleanup] Fix tests ( #4293 )
...
Authored by: sheerluck
2022-07-08 02:50:02 +05:30
pukkandan
a3976e0760
Improve chapter sanitization
2022-07-07 11:28:56 +05:30
pukkandan
ae61d108dd
[cleanup] Misc cleanup
2022-06-29 06:43:27 +05:30
crazymoose77756
962ffcf89c
[cleanup] Fix some typos ( #4194 )
...
Authored by: crazymoose77756
2022-06-26 17:50:06 -07:00
pukkandan
14f25df2b6
[compat] Remove deprecated functions from core code
2022-06-25 00:14:12 +05:30
pukkandan
ac66811112
[compat] Remove more functions
...
Removing any more will require changes to a large number of extractors
2022-06-25 00:08:55 +05:30
Brett824
06cc8f103b
[extractor/youtube] Mark videos as fully watched ( #4146 )
...
* Also fixes videos appearing as shorts in watch history
Closes #2555
Authored by: Brett824
2022-06-23 16:30:17 -07:00
pukkandan
9809740ba5
[extractor, cleanup] Reduce direct use of _downloader
2022-06-23 09:57:26 +05:30
pukkandan
471d0367c7
[youtube:clips] Support downloading clips
...
Closes #2543
2022-06-22 02:50:55 +05:30
pukkandan
a70635b8a1
[cleanup, utils] Don't use kwargs for format_field
2022-06-18 08:13:22 +05:30
pukkandan
0df111a371
[youtube] Extract comment_count
from webpage
...
Closes #4091
2022-06-17 12:00:55 +05:30
coletdjnz
4ce05f5759
[extractor/youtube] Fix live chat for videos with content warning
...
Fixes #4051
Authored by: coletdjnz
2022-06-12 17:56:50 +12:00
pukkandan
56ba69e4c9
[cleanup] Misc fixes
...
Closes #4027
2022-06-11 05:00:12 +05:30
coletdev
2ae778b8fc
[extractor/youtube] Add innertube_host
and innertube_key
extractor args ( #3916 )
...
Allows user to override Innertube API host or key for all requests
Authored by: coletdjnz
2022-06-08 22:18:01 +00:00
MMM
36195c4461
[dash] Show fragment count with --live-from-start
( #3493 )
...
Authored by: flashdagger
2022-06-07 05:44:08 -07:00
coletdjnz
65141660ab
[extractor/youtube] Fix bug in b7c47b7438
...
Closes #3997
Authored by: coletdjnz
2022-06-07 12:26:36 +12:00