coletdjnz and GitHub
3c7a287e28
[test] Add HTTP proxy tests ( #9578 )
...
Also fixes HTTPS proxies for curl_cffi
Authored by: coletdjnz
2024-05-11 10:06:58 +12:00
coletdjnz and GitHub
e5d4f11104
[rh:websockets] Workaround race condition causing issues on PyPy ( #9514 )
...
Authored by: coletdjnz
2024-03-23 11:27:10 +13:00
52f5be1f1e
[rh:curlcffi] Add support for curl_cffi
...
Authored by: coletdjnz, Grub4K, pukkandan, bashonly
Co-authored-by: Simon Sawicki <contact@grub4k.xyz >
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com >
Co-authored-by: bashonly <bashonly@protonmail.com >
2024-03-16 23:15:11 -05:00
0b81d4d252
Add new options --impersonate and --list-impersonate-targets
...
Authored by: coletdjnz, Grub4K, pukkandan, bashonly
Co-authored-by: Simon Sawicki <contact@grub4k.xyz >
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com >
Co-authored-by: bashonly <bashonly@protonmail.com >
2024-03-16 23:14:13 -05:00
coletdjnz and GitHub
f849d77ab5
[test] Workaround websocket server hanging ( #9467 )
...
Authored by: coletdjnz
2024-03-16 16:57:21 +13:00
coletdjnz and GitHub
0085e2bab8
[rh] Remove additional logging handlers on close ( #9032 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/8922
Authored by: coletdjnz
2024-02-18 11:32:34 +13:00
coletdjnz and GitHub
35f4f764a7
[rh:requests] Apply remove_dot_segments to absolute redirect locations
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/9020
Authored by: coletdjnz
2024-01-21 10:03:33 +13:00
coletdjnz and GitHub
811d298b23
[networking] Remove _CompatHTTPError ( #8871 )
...
Use `yt_dlp.networking.exceptions.HTTPError`.
`_CompatHTTPError` was to help with transition to the networking framework.
Authored by: coletdjnz
2024-01-20 15:26:50 +13:00
coletdjnz and GitHub
69d3191495
[test] Skip source address tests if the address cannot be bound to ( #8900 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/8890
Authored by: coletdjnz
2024-01-20 10:39:49 +13:00
coletdjnz and GitHub
196eb0fe77
[networking] Strip whitespace around header values ( #8802 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/8729
Authored by: coletdjnz
2023-12-20 19:15:38 +13:00
coletdjnz and GitHub
ccfd70f4c2
[rh:websockets] Migrate websockets to networking framework ( #7720 )
...
* Adds a basic WebSocket framework
* Introduces new minimum `websockets` version of 12.0
* Deprecates `WebSocketsWrapper`
Fixes https://github.com/yt-dlp/yt-dlp/issues/8439
Authored by: coletdjnz
2023-11-20 08:04:04 +00:00
coletdjnz and GitHub
8a8b54523a
[rh:requests] Add handler for requests HTTP library ( #3668 )
...
Adds support for HTTPS proxies and persistent connections (keep-alive)
Closes https://github.com/yt-dlp/yt-dlp/issues/1890
Resolves https://github.com/yt-dlp/yt-dlp/issues/4070
Resolves https://github.com/ytdl-org/youtube-dl/issues/32549
Resolves https://github.com/ytdl-org/youtube-dl/issues/14523
Resolves https://github.com/ytdl-org/youtube-dl/issues/13734
Authored by: coletdjnz, Grub4K, bashonly
2023-10-13 23:33:00 +00:00
coletdjnz and GitHub
eb5bdbfa70
[ie/youtube] Raise a warning for Incomplete Data instead of an error ( #8238 )
...
Closes https://github.com/yt-dlp/yt-dlp/issues/8206
Adds `raise_incomplete_data` extractor arg to revert this behaviour and raise an error.
Authored by: coletdjnz
Co-authored-by: Simon Sawicki <contact@grub4k.xyz >
2023-10-03 06:42:30 +00:00
coletdjnz and GitHub
9d6254069c
Update to ytdl-commit-66ab08 ( #8128 )
...
[utils] Revert bbd3e7e, updating docstring, test instead
https://github.com/ytdl-org/youtube-dl/commit/66ab0814c4baa2dc79c2dd5287bc0ad61a37c5b9
Authored by: coletdjnz
2023-09-20 19:14:10 +00:00
coletdjnz and GitHub
20fbbd9249
[networking] Fix various socks proxy bugs ( #8065 )
...
- Fixed support for IPv6 socks proxies
- Fixed support for IPv6 over socks5
- Fixed --source-address not being obeyed for socks4 and socks5
- Fixed socks4a when the destination address is an IPv4 address
Closes https://github.com/yt-dlp/yt-dlp/issues/7959
Fixes https://github.com/ytdl-org/youtube-dl/issues/15368
Authored by: coletdjnz
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz >
Co-authored-by: bashonly <bashonly@bashonly.com >
2023-09-18 07:33:26 +00:00
coletdjnz and GitHub
fcd6a76adc
[tests] Add tests for socks proxies ( #7908 )
...
Authored by: coletdjnz
2023-08-25 07:10:44 +00:00
coletdjnz and GitHub
378ae9f9fb
[ie/youtube] Fix consent cookie ( #7774 )
...
Fixes #7594
Authored by: coletdjnz
2023-08-12 04:26:08 +00:00
coletdjnz and GitHub
db7b054a61
[networking] Add request handler preference framework ( #7603 )
...
Preference functions that take a request and a request handler instance can be registered to prioritize different request handlers per request.
Authored by: coletdjnz
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com >
2023-08-04 22:17:48 +00:00
coletdjnz
546b2c28a1
[ie/youtube] Fix player_params arg being converted to lowercase
...
Fix bug in ba06d77a31
Authored by: coletdjnz
2023-07-30 10:50:25 +12:00
coletdjnz and GitHub
ba06d77a31
[ie/youtube] Add player_params extractor arg ( #7719 )
...
Authored by: coletdjnz
2023-07-29 06:20:42 +00:00
coletdjnz and GitHub
4bf912282a
[networking] Remove dot segments during URL normalization ( #7662 )
...
This implements RFC3986 5.2.4 remove_dot_segments during the URL normalization process.
Closes #3355 , #6526
Authored by: coletdjnz
2023-07-28 22:40:20 +00:00
coletdjnz and GitHub
bbeacff7fc
[networking] Ignore invalid proxies in env ( #7704 )
...
Authored by: coletdjnz
2023-07-27 20:26:02 +05:30
coletdjnz and GitHub
95abea9a03
[test] Fix httplib_validation_errors test for old Python versions ( #7677 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/7674
Authored by: coletdjnz
2023-07-24 19:18:52 +00:00
coletdjnz and GitHub
86aea0d3a2
[networking] Add strict Request extension checking ( #7604 )
...
Authored by: coletdjnz
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com >
2023-07-23 05:17:15 +00:00
coletdjnz and pukkandan
3d2623a898
[compat, networking] Deprecate old functions ( #2861 )
...
Authored by: coletdjnz, pukkandan
2023-07-15 16:18:35 +05:30
coletdjnz and pukkandan
227bf1a33b
[networking] Rewrite architecture ( #2861 )
...
New networking interface consists of a `RequestDirector` that directs
each `Request` to appropriate `RequestHandler` and returns the
`Response` or raises `RequestError`. The handlers define adapters to
transform its internal Request/Response/Errors to our interfaces.
User-facing changes:
- Fix issues with per request proxies on redirects for urllib
- Support for `ALL_PROXY` environment variable for proxy setting
- Support for `socks5h` proxy
- Closes https://github.com/yt-dlp/yt-dlp/issues/6325 , https://github.com/ytdl-org/youtube-dl/issues/22618 , https://github.com/ytdl-org/youtube-dl/pull/28093
- Raise error when using `https` proxy instead of silently converting it to `http`
Authored by: coletdjnz
2023-07-15 16:18:35 +05:30
coletdjnz and GitHub
1ba6fe9db5
[ie/youtube:tab] Detect looping feeds ( #6621 )
...
Closes https://github.com/yt-dlp/yt-dlp/issues/5555
Note: the first page may still be repeated, however this is better than nothing.
Authored by: coletdjnz
2023-07-15 03:20:24 +00:00
coletdjnz and pukkandan
f8b4bcc0a7
[core] Prevent Cookie leaks on HTTP redirect
...
Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj
Authored by: coletdjnz
2023-07-06 23:14:39 +05:30
coletdjnz and GitHub
90db9a3c00
[extractor/youtube:stories] Remove ( #7459 )
...
YouTube killed them
https://web.archive.org/web/20230630153050/https://support.google.com/youtube/thread/217640760
2023-07-06 19:02:41 +05:30
coletdjnz and GitHub
4dc4d8473c
[extractor/youtube] Ignore incomplete data for comment threads by default ( #7475 )
...
For both `--ignore-errors` and `--ignore-errors only_download`. Pass `--no-ignore-errors` to not ignore.
Closes https://github.com/yt-dlp/yt-dlp/issues/7474
Authored by: coletdjnz
2023-07-03 10:47:10 +00:00
coletdjnz and GitHub
fcbc9ed760
[extractor/youtube:tab] Support shorts-only playlists ( #7425 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/7424
Authored by: coletdjnz
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com >
2023-06-29 23:26:27 +00:00
coletdjnz and pukkandan
8213ce28a4
[extractor/youtube] Extract channel_is_verified ( #7213 )
...
Authored by: coletdjnz
2023-06-08 19:15:39 +05:30
coletdjnz and GitHub
2fb35f6004
[extractor/youtube] Support shorter relative time format ( #7191 )
...
See: https://github.com/TeamNewPipe/NewPipeExtractor/issues/1067
Authored by: coletdjnz
2023-06-03 06:33:51 +00:00
coletdjnz and GitHub
c35448b7b1
[extractor/youtube] Extract more metadata for comments ( #7179 )
...
Adds new comment fields:
* `author_url` - The url to the comment author's page
* `author_is_verified` - Whether the author is verified on the platform
* `is_pinned` - Whether the comment is pinned to the top of the comments
Closes https://github.com/yt-dlp/yt-dlp/issues/5411
Authored by: coletdjnz
2023-06-01 08:43:32 +00:00
coletdjnz and GitHub
18f8fba7c8
[extractor/youtube] Fix continuation loop with no comments ( #7148 )
...
Deep check the response for incomplete data.
Authored by: coletdjnz
2023-05-31 07:08:28 +00:00
coletdjnz
93e12ed76e
[extractor/youtube] Extract uploader metadata for feed/playlist items
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/7104
Authored by: coletdjnz
2023-05-28 11:31:45 +12:00
coletdjnz and GitHub
daafbf49b3
[core] Support decoding multiple content encodings ( #7142 )
...
Authored by: coletdjnz
2023-05-27 10:40:05 +00:00
coletdjnz and GitHub
3f66b6fe50
[core] Workaround erroneous urllib Windows proxy parsing ( #7092 )
...
Convert proxies extracted from windows registry to http for older Python versions.
See: https://github.com/python/cpython/issues/86793
Authored by: coletdjnz
2023-05-27 07:17:27 +00:00
coletdjnz and GitHub
b87e01c123
[cookies] Move YoutubeDLCookieJar to cookies module ( #7091 )
...
Authored by: coletdjnz
2023-05-27 07:08:19 +00:00
coletdjnz and GitHub
08916a49c7
[core] Improve HTTP redirect handling ( #7094 )
...
Aligns HTTP redirect handling with what browsers commonly do and RFC standards.
Fixes issues https://github.com/yt-dlp/yt-dlp/commit/afac4caa7db30804bebac33e53c3cb0237958224 missed.
Authored by: coletdjnz
2023-05-27 07:06:13 +00:00
coletdjnz and GitHub
955c89584b
[core] Deprecate internal Youtubedl-no-compression header ( #6876 )
...
Authored by: coletdjnz
2023-05-20 22:55:09 +00:00
coletdjnz and GitHub
69bec6730e
[cleanup, utils] Split into submodules ( #7090 )
...
Closes https://github.com/yt-dlp/yt-dlp/pull/2173
Authored by: pukkandan, coletdjnz
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com >
2023-05-20 21:56:23 +00:00
coletdjnz
447afb9eaa
[extractor/youtube] Support podcasts and releases tabs
...
Closes https://github.com/yt-dlp/yt-dlp/issues/6893
Authored by: coletdjnz
2023-05-20 19:11:03 +12:00
coletdjnz and GitHub
7666b93604
[extractor/youtube] Define strict uploader metadata mapping ( #6384 )
...
New mapping:
```
channel -> channel name
channel_id -> UCID
channel_url -> UCID channel url
uploader -> channel name (same as channel field)
uploader_id -> @handle
uploader_url -> @handle channel url
```
Authored by: coletdjnz
2023-04-14 07:58:36 +00:00
coletdjnz and GitHub
141a8dff98
[extractor/youtube] Fix comment loop detection for pinned comments ( #6714 )
...
Pinned comments may repeat a second time - this is expected.
Fixes https://github.com/yt-dlp/yt-dlp/issues/6712
Authored by: coletdjnz
2023-04-06 07:44:22 +00:00
coletdjnz and GitHub
607510b9f2
[extractor/youtube] Handle incomplete initial data from watch page ( #6510 )
...
Authored by: coletdjnz
2023-03-13 01:43:37 +00:00
coletdjnz and GitHub
7f51861b18
[extractor/youtube] Detect and break on looping comments ( #6301 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/6290
Authored by: coletdjnz
2023-03-01 07:56:53 +00:00
Matthew and GitHub
8300774c4a
Add --enable-file-urls ( #5917 )
...
Closes https://github.com/yt-dlp/yt-dlp/issues/3675
Authored by: coletdjnz
2023-01-02 06:05:13 +00:00
Matthew and GitHub
e756f45ba0
Improve handling for overriding extractors with plugins ( #5916 )
...
* Extractors replaced with plugin extractors now show in debug output
* Better testcase handling
* Added documentation
Authored by: coletdjnz, pukkandan
2023-01-02 04:55:11 +00:00
coletdjnz
3e01ce744a
[extractor/generic] Use Accept-Encoding: identity for initial request
...
The existing comment seems to imply this was the desired behavior from the beginning.
Partial fix for https://github.com/yt-dlp/yt-dlp/issues/5855 , https://github.com/yt-dlp/yt-dlp/issues/5851 , https://github.com/yt-dlp/yt-dlp/issues/4748
2023-01-01 18:41:35 +13:00
Matthew and GitHub
8e40b9d1ec
Improve plugin architecture ( #5553 )
...
to make plugins easier to develop and use:
* Plugins are now loaded as namespace packages.
* Plugins can be loaded in any distribution of yt-dlp (binary, pip, source, etc.).
* Plugin packages can be installed and managed via pip, or dropped into any of the documented locations.
* Users do not need to edit any code files to install plugins.
* Backwards-compatible with previous plugin architecture.
As a side-effect, yt-dlp will now search in a few more locations for config files.
Closes https://github.com/yt-dlp/yt-dlp/issues/1389
Authored by: flashdagger, coletdjnz, pukkandan, Grub4K
Co-authored-by: Marcel <flashdagger@googlemail.com >
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com >
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz >
2023-01-01 04:29:22 +00:00
Matthew and GitHub
c733555106
[extractor/youtube:tab] Extract metadata from channel items ( #5569 )
...
Authored by: coletdjnz
2022-12-12 23:08:14 +00:00
Matthew and GitHub
3f5c216969
[extractor/nzherald] Support new video embed ( #5493 )
...
Authored by: coletdjnz
2022-11-10 21:12:10 +00:00
Matthew and GitHub
e72e48c53f
[extractor/youtube] Ignore incomplete data error for comment replies ( #5490 )
...
When --ignore-errors is used.
Closes https://github.com/yt-dlp/yt-dlp/issues/4669
Authored by: coletdjnz
2022-11-10 06:35:22 +00:00
Matthew and GitHub
0cf643b234
[extractor/youtube] Differentiate between no and disabled comments ( #5491 )
...
`comments` and `comment_count` will be set to None, as opposed to
an empty list and 0, respectively.
Fixes https://github.com/yt-dlp/yt-dlp/issues/5068
Authored by: coletdjnz, pukkandan
2022-11-10 03:33:03 +00:00
Matthew and GitHub
4dc23a8051
[extractor/youtube:tab] Fix video metadata from tabs ( #5489 )
...
Closes #5488
Authored by: coletdjnz
2022-11-10 08:14:12 +05:30
Matthew and GitHub
d9df9b4919
[extractor/unsupported] Raise error on known DRM-only sites ( #5483 )
...
Authored by: coletdjnz
2022-11-09 09:09:13 +00:00
Matthew and GitHub
86973308cd
[extractor/youtube:tab] Update tab handling for redesign ( #5439 )
...
Closes #5432 , #5430 , #5419
Authored by: coletdjnz, pukkandan
2022-11-09 14:28:44 +05:30
Matthew and GitHub
ac8e69dd32
Do not backport Python 3.10 SSL configuration for LibreSSL ( #5464 )
...
Until further investigation.
Fixes regression in https://github.com/yt-dlp/yt-dlp/commit/5b9f253fa0aee996cf1ed30185d4b502e00609c4
Authored by: coletdjnz
2022-11-06 20:30:55 +00:00
Matthew and GitHub
5b9f253fa0
Backport SSL configuration from Python 3.10 ( #5437 )
...
Partial fix for https://github.com/yt-dlp/yt-dlp/pull/5294#issuecomment-1289363572 , https://github.com/yt-dlp/yt-dlp/issues/4627
Authored by: coletdjnz
2022-11-06 22:07:23 +05:30
Matthew and GitHub
6141346d18
[extractor/youtube] Update playlist metadata extraction for new layout ( #5376 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/5373
Authored by: coletdjnz
2022-11-06 05:25:31 +00:00
coletdjnz
e63faa101c
[extractor/youtube] Fix live_status extraction for playlist videos
...
Regression in https://github.com/yt-dlp/yt-dlp/commit/867c66ff97b0639485a2b6ebc28f2e0df0bf8187
Authored by: coletdjnz
2022-10-27 17:36:54 +13:00
Matthew and GitHub
217753f4aa
[extractor/YoutubeWebArchive] Improve metadata extraction ( #4968 )
...
Closes https://github.com/yt-dlp/yt-dlp/issues/4574
Authored by: coletdjnz
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com >
2022-10-17 05:46:24 +00:00
Matthew and GitHub
6dca2aa66d
[extractor/generic:quoted-html] Add extractor ( #5213 )
...
Extracts embeds from escaped HTML within `data-html` attribute.
Related: https://github.com/ytdl-org/youtube-dl/issues/21294 , https://github.com/yt-dlp/yt-dlp/pull/5121
Authored by: coletdjnz
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com >
2022-10-14 04:32:52 +00:00
Matthew and GitHub
4c9a1a3ba5
[extractor/wordpress:mb.miniAudioPlayer] Add embed extractor ( #5087 )
...
Closes https://github.com/yt-dlp/yt-dlp/issues/4994
Authored by: coletdjnz
2022-10-09 05:55:26 +00:00
Matthew and GitHub
867c66ff97
[extractor/youtube] Extract concurrent view count for livestreams ( #5152 )
...
Adds new field `concurrent_view_count`
Closes https://github.com/yt-dlp/yt-dlp/issues/4843
Authored by: coletdjnz
2022-10-07 07:00:40 +00:00
coletdjnz and GitHub
34859e4b32
[extractor/onenewsnz] Add extractor ( #5088 )
...
Authored by: coletdjnz
2022-10-04 09:44:57 +05:30
coletdjnz and GitHub
1e0daeb314
[extractor/24tv.ua] Add extractors ( #5121 )
...
Closes #4287
Authored by: coletdjnz
2022-10-04 08:59:29 +05:30
coletdjnz and GitHub
7474e4531e
[extractor/AmazonStore] Fix JSON extraction ( #5111 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/5110
Authored by: coletdjnz
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com >
2022-10-03 19:40:49 +00:00
coletdjnz and GitHub
d3a3d7f0cc
[extractor/JWPlatform] Fix extractor ( #5112 )
...
Fix bitrate and filesize extraction and support embeds with unquoted urls.
Related: #5106
Authored by: coletdjnz
2022-10-03 19:37:48 +00:00
coletdjnz
f1aae71568
[extractor/rcs] Fix embed extraction
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/5076
Authored by: coletdjnz
2022-09-30 14:02:20 +13:00
coletdjnz and GitHub
c9eba8075f
[extractor/wordpress:playlist] Add generic embed extractor ( #5012 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/4955
Authored by: coletdjnz
2022-09-28 06:37:12 +00:00
coletdjnz and GitHub
0ca0f88121
[extractor/heise] Fix extractor ( #5029 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/1520
Authored by: coletdjnz
2022-09-26 00:58:06 +00:00
coletdjnz
d42763a443
[extractor/rutube] Fix _EMBED_REGEX
...
Closes https://github.com/yt-dlp/yt-dlp/issues/4797
Authored by: coletdjnz
2022-09-24 17:44:26 +12:00
coletdjnz and GitHub
3c757d5ed2
[extractor/wistia] Add support for channels ( #4819 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/4748
Related: https://github.com/yt-dlp/yt-dlp/issues/4985
Authored by: coletdjnz
2022-09-23 21:52:11 +00:00
coletdjnz
32972518da
[extractor/telegraaf] Use mobile GraphQL API endpoint
...
Workaround for Cloudflare 403
Fixes https://github.com/yt-dlp/yt-dlp/issues/5000
Authored by: coletdjnz
2022-09-23 12:10:35 +12:00
coletdjnz and GitHub
80eb0bd9b9
[extractor/youtube] Add support for Shorts audio pivot feed ( #4932 )
...
This feed shows Shorts using the audio of a given video.
ytshortsap: prefix can be used as a shortcut until YouTube
implements an official view.
Closes #4911
Authored by: coletdjnz
2022-09-22 05:39:02 +00:00
coletdjnz
0831d95c46
[extractor/BiliIntl] Support uppercase lang in _VALID_URL
...
Seen in some rare cases
Authored by: coletdjnz
2022-09-10 10:06:48 +12:00
coletdjnz and GitHub
c26f9b991a
[extractor/youtube] Support changing extraction language ( #4470 )
...
Adds `--extractor-args youtube:lang=<supported lang code>` extractor arg to prefer translated fields (e.g. title and description) of that language, if available, for all YouTube extractors. See README or error message for list of supported language codes.
Closes https://github.com/yt-dlp/yt-dlp/issues/387
Authored by: coletdjnz
2022-09-09 05:16:46 +00:00
coletdjnz
3ffb2f5bea
[extractor/youtube] Fix video like count extraction
...
Support new combined button layout
Authored by: coletdjnz
2022-09-09 12:34:39 +12:00
coletdjnz and GitHub
aa824dd10b
[extractor/mediaworksnzvod] Add extractor ( #4817 )
...
Authored by: coletdjnz
2022-09-03 03:19:48 +00:00
coletdjnz and GitHub
1ff88b7aec
[extractor/youtube] Add no-youtube-prefer-utc-upload-date compat option ( #4771 )
...
This option reverts https://github.com/yt-dlp/yt-dlp/commit/992f9a730b49fd36fc422be8d802f98ebcdce418 and https://github.com/yt-dlp/yt-dlp/commit/17322130a954577bb03b833d5c435638e51e19f2 to prefer the non-UTC upload date in microformats.
Authored by: coletdjnz, pukkandan
2022-09-01 10:02:28 +00:00
coletdjnz and GitHub
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
coletdjnz and GitHub
cea4b857f0
[patreon] Ignore erroneous media attachments ( #4638 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/4608
Authored by: coletdjnz
2022-08-13 00:25:20 +00:00
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
coletdjnz and GitHub
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
coletdjnz and GitHub
871a8929bc
[extractor/archiveorg] Improve handling of formats ( #4461 )
...
* Ignore private formats if not logged in (fixes https://github.com/yt-dlp/yt-dlp/issues/3832 )
* Prefer original formats
* Support mpg formats
Authored by: coletdjnz, pukkandan
2022-07-29 05:09:36 +00:00
coletdev and GitHub
4f08e58655
[extractor/patreon] Fix and improve extractors ( #4398 )
...
* Add workaround for 403s - Fixes https://github.com/yt-dlp/yt-dlp/issues/3631
* Support m3u8 post file videos - Fixes https://github.com/yt-dlp/yt-dlp/issues/2277
* Raise useful error messages - Fixes https://github.com/yt-dlp/yt-dlp/issues/2914
* `--write-comments` support
Authored by: coletdjnz, pukkandan
2022-07-22 22:23:54 +00:00
coletdev and GitHub
379a4f161d
[utils] Fix inconsistent default handling between HTTP and HTTPS requests ( #4158 )
...
Default headers such as `Content-Type` were only being added for HTTPS requests among other handling.
Fixes bug in https://github.com/ytdl-org/youtube-dl/commit/be4a824d74add1a3b78b8244dff12f4f078f168a
Authored-by: coletdjnz
2022-06-24 03:29:28 +00:00
coletdev and GitHub
f0bc6e2019
[extractor] Add default parameter to _search_json ( #4057 )
...
Authored by: pukkandan, coletdjnz
2022-06-18 17:55:18 -07:00
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
coletdev and GitHub
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
coletdjnz
65141660ab
[extractor/youtube] Fix bug in b7c47b7438
...
Closes #3997
Authored by: coletdjnz
2022-06-07 12:26:36 +12:00
coletdev and GitHub
c7a7baaa13
[extractor/youtube] Fix :ytnotifications extractor ( #3775 )
...
Still some issues, see https://github.com/yt-dlp/yt-dlp/pull/3775
Authored by: coletdjnz
2022-06-03 07:04:39 +00:00
coletdjnz
ee27297f82
[extractor/youtube] Fix initial player response extraction
...
Authored by: pukkandan, coletdjnz
2022-05-29 19:54:22 +12:00
coletdev and GitHub
2c6dcb65fb
[utils] Send HTTP/1.1 ALPN extension ( #3889 )
...
Some servers may reject requests if not sent (e.g. fingerprinting)
Fixes #3878
Authored by: coletdjnz
2022-05-28 03:46:36 +00:00
coletdjnz
5faf6528fb
[http] Fix bug in retrying on read timeout in py < 3.10
...
socket.timeout is not an alias of TimeoutError in py < 3.10
Fixes bug in https://github.com/yt-dlp/yt-dlp/commit/a2e77303e3385da640a0904cd6cb76235fa9691b
Authored-by: coletdjnz
2022-05-17 09:17:37 +12:00
bb58c9ed5c
Add support for SSL client certificate authentication ( #3435 )
...
Adds `--client-certificate`, `--client-certificate-key`, `--client-certificate-password`
Authored-by: coletdjnz
Co-authored-by: df <fieldhouse@gmx.net >
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com >
2022-05-02 07:59:45 +00:00
coletdev and GitHub
afac4caa7d
Fix redirect HTTP method handling ( #3577 )
...
Authored by: coletdjnz
2022-05-01 20:40:26 -07:00