pukkandan
c305a25c1b
[cleanup] Standardize import datetime as dt ( #8978 )
2024-04-01 05:32:15 +05:30
pukkandan and GitHub
e3a3ed8a98
[ie, cleanup] No from stdlib imports in extractors ( #8978 )
2024-04-01 05:31:09 +05:30
pukkandan
a25a424323
[ie/youtube] Calculate more accurate filesize
...
YouTube provides slightly different duration for each format.
Calculating file-size based on this duration instead of the
video duration gives more accurate results.
Ref: https://github.com/yt-dlp/yt-dlp/issues/1400#issuecomment-2007441207
2024-04-01 04:56:09 +05:30
pukkandan
e7b17fce14
[ie/youtube] Update android params
...
Discovered by LuanRT - https://github.com/LuanRT/YouTube.js/pull/624
Closes #9554
2024-04-01 01:31:53 +05:30
pukkandan
86a972033e
Infer acodec for single-codec containers
2024-03-31 22:50:21 +05:30
pukkandan
615a84447e
[cleanup] Misc ( #8968 )
...
Authored by: pukkandan, bashonly, seproDev
2024-03-11 00:52:28 +05:30
pukkandan
ed3bb2b0a1
[cleanup] Remove unused code ( #8968 )
...
Authored by: pukkandan, seproDev
2024-03-11 00:52:20 +05:30
pukkandan
45491a2a30
[utils] Improve repr of DateRange, match_filter_func
2024-03-11 00:51:39 +05:30
pukkandan
93240fc184
[cleanup] Fix misc bugs ( #8968 )
...
Closes #8816
Authored by: bashonly, seproDev, pukkandan, Grub4k
2024-03-11 00:51:26 +05:30
47ab66db0f
[docs] Misc Cleanup ( #8977 )
...
Closes #8355 , #8944
Authored by: bashonly, Grub4k, Arthurszzz, seproDev, pukkandan
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com >
Co-authored-by: bashonly <bashonly@protonmail.com >
Co-authored-by: Arthurszzz <minecraftgamerarthur@gmail.com >
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz >
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com >
2024-03-11 00:48:47 +05:30
pukkandan
069b2aedae
Create ydl._request_director when needed
2024-02-25 06:06:42 +05:30
pukkandan
ffff1bc659
Fix 3725b4f0c9
2024-02-20 02:31:56 +05:30
pukkandan
298230e550
[webvtt] Fix 15f22b4880
2023-12-13 05:11:45 +05:30
pukkandan
044886c220
[ie/youtube] Return empty playlist when channel/tab has no videos
...
Closes #8634
2023-12-06 03:44:13 +05:30
pukkandan
993edd3f6e
[outtmpl] Support multiplication
...
Related: #8683
2023-12-06 03:44:11 +05:30
pukkandan
a174c453ee
Let read_stdin obey --quiet
...
Closes #8668
2023-11-29 05:48:40 +05:30
pukkandan
f73c118035
FFmpegFixupM3u8PP may need to run with ffmpeg
...
Bug in 62b5c94cad
Closes #7725
2023-07-30 04:24:46 +05:30
pukkandan
6148833f5c
[cleanup] Misc
2023-07-30 04:06:18 +05:30
pukkandan
8cb7fc44db
Fix --check-formats
...
Bug in bc344cd456
2023-07-30 03:23:13 +05:30
pukkandan
3f7965105d
[utils] HTTPHeaderDict: Handle byte values
2023-07-30 03:18:10 +05:30
pukkandan
de20687ee6
[test] Fix test_load_certifi
...
Closes #7688 , #7675
2023-07-29 21:53:00 +05:30
pukkandan
a250b24733
[compat] Ensure submodules are imported correctly
...
Closes #7663
2023-07-22 18:10:35 +05:30
pukkandan
25b6e8f946
Fix e0c4db04dc for pypy
2023-07-22 10:17:36 +05:30
pukkandan
e705738338
[ie/unsupported] List more sites with DRM
...
Closes #7323 , #3072 , #5740 , #5767 , #6125
2023-07-22 09:56:56 +05:30
pukkandan
62b5c94cad
[cleanup] Misc fixes
...
Closes #7528
2023-07-22 09:09:52 +05:30
pukkandan
e0c4db04dc
[compat] Add types.NoneType
2023-07-22 09:00:45 +05:30
pukkandan
81b4712bca
[extractor] Fix --load-pages
2023-07-22 09:00:44 +05:30
pukkandan
994f7ef8e6
[ie/generic] Fix generic title for embeds
...
Closes #7067
2023-07-22 08:57:44 +05:30
pukkandan
a264433c9f
[outtmpl] Fix replacement for playlist_index
2023-07-22 08:57:43 +05:30
pukkandan
9f66247289
[ie/abematv] Temporary fix for protocol handler
...
Closes #7622
2023-07-22 08:57:42 +05:30
pukkandan
131d132da5
[build] Make sure deprecated modules are added
2023-07-15 16:47:55 +05:30
pukkandan
c365dba843
[networking] Add module ( #2861 )
...
No actual changes - code is only moved around
2023-07-15 16:18:34 +05:30
pukkandan
1b392f905d
[utils] Add temporary shim for logging
...
Related: #5680 , #7517
2023-07-15 16:18:34 +05:30
pukkandan and bashonly
b03fa78345
Revert 49296437a8
2023-07-06 14:19:32 -05:00
pukkandan
b532a34810
[docs] Minor fixes
...
Closes #7515
2023-07-06 23:32:19 +05:30
pukkandan
ad8902f616
[ie/vidlii] Handle relative URLs
...
Closes #7480
2023-07-06 21:40:09 +05:30
pukkandan
94ed638a43
[ie/youtube] Avoid false DRM detection ( #7396 )
...
Some master manifests contain a mix of DRM and non-DRM formats
2023-07-06 21:40:07 +05:30
pukkandan
bc344cd456
[core] Allow extractors to mark formats as potentially DRM ( #7396 )
...
This is useful for HLS where detecting whether the format is
actually DRM requires the child manifest to be downloaded.
Makes the error message when using `--test` inconsistent,
but doesn't really matter.
2023-07-06 21:40:01 +05:30
pukkandan
906c0bdcd8
[formats] Fix best fallback for storyboards
...
Partial fix for #7478
2023-07-06 21:39:58 +05:30
pukkandan
337734d4a8
[cleanup] Misc
2023-07-06 21:39:55 +05:30
pukkandan
fa44802809
[devscripts/make_changelog] Skip reverted commits
2023-07-06 20:22:04 +05:30
pukkandan
47bcd43724
[outtmpl] Pad playlist_index etc even when with internal formatting
...
Closes #7501
2023-07-06 20:22:03 +05:30
pukkandan
662ef1e910
[downloader/http] Avoid infinite loop when no data is received
...
Closes #7504
2023-07-06 20:22:00 +05:30
pukkandan
91302ed349
[utils] clean_podcast_url: Handle protocol in redirect URL
...
Closes #7430
2023-06-26 16:19:49 +05:30
pukkandan
f393bbe724
[extractor/sbs] Python 3.7 compat
...
Closes #7410
2023-06-26 16:14:20 +05:30
pukkandan
8a8af356e3
[downloader/aria2c] Add --no-conf
...
Closes #7404
2023-06-26 16:13:31 +05:30
pukkandan
d949c10c45
[extractor/youtube] Process post_live over 2 hours
2023-06-26 07:25:52 +05:30
pukkandan
58786a10f2
[extractor/youtube] Add extractor-arg formats
...
Closes #7417
2023-06-25 20:14:37 +05:30
pukkandan
e59e20744e
Bugfix for b4e0d75848
2023-06-22 23:45:53 +05:30
pukkandan
812cdfa06c
[cleanup] Misc
2023-06-22 13:31:07 +05:30
pukkandan
cd810afe2a
[extractor/youtube] Improve nsig function name extraction
2023-06-22 13:27:18 +05:30
pukkandan
b4e0d75848
Improve --download-sections
...
* Support negative time-ranges
* Add `*from-url` to obey time-ranges in URL
Closes #7248
2023-06-22 13:03:07 +05:30
pukkandan
5fd8367496
[extractor] Support multiple _VALID_URLs ( #5812 )
...
Authored by: nixxo
2023-06-22 03:19:55 +05:30
pukkandan
0dff8e4d1e
Indicate filesize approximated from tbr better
2023-06-22 01:37:55 +05:30
pukkandan
1e75d97db2
[extractor/youtube] Add ios to default clients used
...
* IOS is affected neither by 403 or by nsig so helps mitigate them preemptively
* IOS also has higher bit-rate "premium" formats though they are not labeled as such
2023-06-22 01:36:06 +05:30
pukkandan
81ca451480
[extractor/youtube] Workaround 403 for android formats
...
Ref: https://github.com/TeamNewPipe/NewPipe/issues/9038#issuecomment-1289756816
2023-06-22 00:15:22 +05:30
pukkandan
a4486bfc1d
Revert "[misc] Add automatic duplicate issue detection"
...
This reverts commit 15b2d3db1d .
2023-06-22 00:11:35 +05:30
pukkandan
d7cd97e8d8
Fix bug in db3ad8a676
...
Closes #7367
2023-06-21 12:13:27 +05:30
pukkandan
42f2d40b47
Update to ytdl-commit-07af47
...
[YouTube] Improve fix for ae8ba2c
https://github.com/ytdl-org/youtube-dl/commit/07af47960f3bb262ead02490ce65c8c45c01741e
2023-06-21 09:21:23 +05:30
pukkandan
1619ab3e67
Bugfix for ebe1b4e34f
2023-06-21 09:21:22 +05:30
pukkandan
84078a8b38
[core] Fix filepath being copied to underlying format dict
...
Closes #6536
2023-06-21 09:21:21 +05:30
pukkandan
ad54c9130e
[cleanup] Misc
...
Closes #6288 , Closes #7197 , Closes #7265 , Closes #7353 , Closes #5773
Authored by: mikf, freezboltz, pukkandan
2023-06-21 09:21:20 +05:30
pukkandan
02948a17d9
[update] Do not restart into versions without --update-to
2023-06-21 06:10:40 +05:30
pukkandan
424f3bf033
[downloader/fragment] Do not sleep between fragments
...
Closes #6599
2023-06-21 06:10:39 +05:30
pukkandan
ebe1b4e34f
[outtmpl] Fix some minor bugs
...
Closes #7164
2023-06-21 06:10:39 +05:30
pukkandan
a35af4306d
[utils] strftime_or_none: Handle negative timestamps
...
Closes #6706
Authored by pukkandan, dirkf
2023-06-21 06:10:39 +05:30
pukkandan
93b39cdbd9
Add --compat-option playlist-match-filter
...
Closes #6073
2023-06-21 06:10:39 +05:30
pukkandan
97afb093d4
[extractor/youtube] Ignore wrong fps of some formats
2023-06-21 06:10:39 +05:30
pukkandan
2e023649ea
[cookies] Revert compatibility breakage in b38d4c941d
2023-06-21 06:10:38 +05:30
pukkandan
51a07b0dca
[extractor/youtube] Prioritize premium formats
...
Closes #7283
2023-06-21 06:10:38 +05:30
pukkandan
eedda5252c
[utils] FormatSorter: Improve size and br
...
Closes #1596
Previously, when some formats have accurate size and some approximate,
the ones with accurate size was always prioritized
For formats with known tbr and unknown vbr/abr, we were setting
(vbr=tbr, abr=0) for sorting to work. This is no longer needed.
Authored by pukkandan, u-spec-png
2023-06-21 06:10:38 +05:30
pukkandan
01aba2519a
[jsinterp] Fix global object extraction
...
Closes #7327
2023-06-18 04:11:15 +05:30
pukkandan
13ff780953
[postprocessor] Print newline for --progress-template
...
Closes #7193
2023-06-17 01:43:09 +05:30
pukkandan
ff9b0e071f
[extractor/youtube] Determine audio language using automatic captions
2023-06-17 01:43:03 +05:30
pukkandan
14a14335b2
[extractor/youtube] Misc cleanup
...
Authored by: coletdjnz
2023-06-08 19:14:57 +05:30
pukkandan
7aeda6cc9e
[jsinterp] Do not compile regex
2023-05-24 23:30:45 +05:30
pukkandan
15b2d3db1d
[misc] Add automatic duplicate issue detection
2023-05-24 23:30:45 +05:30
pukkandan
4823ec9f46
Update to ytdl-commit-d1c6c5
...
[YouTube] [core] Improve platform debug log, based on yt-dlp
https://github.com/ytdl-org/youtube-dl/commit/d1c6c5c4d618fa950813c0c71aede34a5ac851e9
Except:
* 6ed34338285f722d0da312ce0af3a15a077a3e2a [jsinterp] Add short-cut evaluation for common expression
* There was no performance improvement when tested with https://github.com/ytdl-org/youtube-dl/issues/30641
* e8de54bce50f6f77a4d7e8e80675f7003d5bf630 [core] Handle `/../` sequences in HTTP URLs
* We plan to implement this differently
2023-05-24 23:30:43 +05:30
pukkandan
46f1370e9a
[devscripts/cli_to_api] Add script
2023-05-24 23:29:30 +05:30
pukkandan
6f2287cb18
[cleanup] Misc
...
Closes #7030 , closes #6967
2023-05-20 04:23:41 +05:30
pukkandan
1d7656184c
[jsinterp] Handle NaN in bitwise operators
...
Closes #6131
2023-05-20 04:07:17 +05:30
pukkandan
f7f7a877bf
[extractor/booyah] Remove extractor
...
Site shut down. Closes #6425
2023-05-20 04:05:22 +05:30
pukkandan
c8bc203fbf
[docs] Misc improvements
...
Closes #6814 , closes #6940 , closes #6733 , closes #6923 , closes #6566 , closes #6726 , closes #6728
2023-05-20 02:38:24 +05:30
pukkandan
ddae33754a
[extractor/youporn] Extract m3u8 formats
...
Closes #6977
2023-05-05 11:28:33 +05:30
pukkandan
17ba4343cf
Fix f005a35aa7
...
Printing inside `finally` causes the order of logging to change
when there is an error, which is undesirable. So this is reverted.
The issue of `--print` being blocked by pre-processors was an
unintentional side-effect of changing the operation orders in
170605840e , and this is also partially
reverted.
2023-04-29 03:06:42 +05:30
pukkandan
f005a35aa7
Ensure pre-processor errors do not block --print
...
Closes #6937
2023-04-29 01:06:14 +05:30
pukkandan
b5f61b69d4
Fix bug in 170605840e
...
and related refactor
2023-04-27 19:35:28 +05:30
pukkandan
7cf51f2191
[jsinterp] Handle negative numbers better
...
Closes #6131
2023-04-27 07:52:09 +05:30
pukkandan
170605840e
Populate filename and urls fields at all stages of --print
...
Closes https://github.com/yt-dlp/yt-dlp/issues/6920
2023-04-27 06:13:42 +05:30
pukkandan
c16644642b
Add option --xff
...
Deprecates `--geo-bypass`, `--no-geo-bypass, `--geo-bypass-country`, `--geo-bypass-ip-block`
2023-04-24 19:38:58 +05:30
pukkandan
04f8018a05
[extractor/hentaistigma] Remove extractor
...
Piracy site
Closes #6870
2023-04-24 19:01:43 +05:30
pukkandan
d669772c65
Add --no-quiet
...
Closes #6796
2023-04-24 18:55:43 +05:30
pukkandan
ec9311c41b
[outtmpl] Support str.format syntax inside replacements
...
Closes #6843
2023-04-24 18:43:54 +05:30
pukkandan
78fde6e339
[outtmpl] Allow \n in replacements and default.
...
Fixes: https://github.com/yt-dlp/yt-dlp/issues/6808#issuecomment-1510055357
Fixes: https://github.com/yt-dlp/yt-dlp/issues/6808#issuecomment-1510363645
2023-04-24 18:28:30 +05:30
pukkandan
9874e82b5a
Do not translate newlines in --print-to-file
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/6808#issuecomment-1509361107
2023-04-16 08:55:44 +05:30
pukkandan
84ffeb7d5e
[extractor] Do not warn for invalid chapter data in description
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/6811#issuecomment-1509876209
2023-04-16 08:55:43 +05:30
pukkandan
c3f624ef0a
Relaxed validation for numeric format filters
...
Continued from f96bff99cb
Closes #6782
2023-04-12 05:05:15 +05:30
pukkandan
26010b5cec
[postprocessor/FixupDuplicateMoov] Fix bug in triggering
2023-04-11 21:43:33 +05:30
pukkandan
c6786ff3ba
[extractor/youtube] Revert default formats to https
2023-04-11 21:43:31 +05:30
pukkandan
f68434cc74
[extractor] Extract more metadata from ISM
...
Fixes https://github.com/yt-dlp/yt-dlp/commit/81b6102d2099eec78a2db9ae3d101a8503dd4f25#r105892531
2023-03-25 13:18:21 +05:30