1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-01-20 10:26:21 +01:00
Commit graph

71 commits

Author SHA1 Message Date
sepro
f95a92b3d0
[cleanup] Deprecate more compat functions ()
Authored by: seproDev
2024-11-17 00:24:11 +01:00
Evgeny Zislis
4613096f2e
[cookies] Support chrome table version 24 ()
Closes 
Authored by: kesor, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
2024-11-04 00:59:57 +01:00
Simon Sawicki
e59c82a74c
[cookies] Fix cookie load error handling ()
Authored by: Grub4K
2024-10-01 02:13:48 +02:00
sepro
b397a64691
[cookies] Improve error message for Windows --cookies-from-browser chrome issue ()
Authored by: seproDev
2024-09-25 23:13:54 +02:00
bashonly
6aaf96a3d6
[cleanup] Misc ()
Closes 
Authored by: bashonly, seproDev, jucor, c-basalt

Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Co-authored-by: Julien Cornebise <julien@cornebise.com>
Co-authored-by: c-basalt <117849907+c-basalt@users.noreply.github.com>
2024-07-01 22:51:27 +00:00
Peisen Wang
a8520244b8
[cookies] Fix --cookies-from-browser DE detection on Linux ()
Align with chromium source by parsing every part of `XDG_CURRENT_DESKTOP`

Authored by: peisenwang
2024-06-22 23:25:16 +00:00
sepro
add96eb9f8
[cleanup] Add more ruff rules ()
Authored by: seproDev

Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
2024-06-12 01:09:58 +02:00
Roeniss Moon
dd9ad97b1f
[cookies] Add --cookies-from-browser support for Whale ()
Closes 
Authored by: roeniss
2024-05-17 14:33:12 +00:00
Stefan Lobbenmeier
f1f158976e
[cookies] Get chrome session cookies with --cookies-from-browser ()
Partially addresses 
Authored by: StefanLobbenmeier
2024-05-11 17:25:39 +00:00
Dmitry Meyer
2ab2651a4a
[cookies] Add --cookies-from-browser support for Firefox Flatpak ()
Authored by: un-def
2024-04-07 15:28:59 +00:00
pukkandan
c305a25c1b
[cleanup] Standardize import datetime as dt () 2024-04-01 05:32:15 +05:30
pukkandan
47ab66db0f
[docs] Misc Cleanup ()
Closes , 

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
Simon Sawicki
2792092afd
[cookies] Improve error message for Windows --cookies-from-browser chrome issue ()
Authored by: Grub4K
2024-01-31 09:56:14 +01:00
Simon Sawicki
cbed249aaa
[cookies] Fix --cookies-from-browser for snap Firefox ()
Authored by: Grub4K
2024-01-31 09:43:52 +01:00
Ralph Drake
85b33f5c16
[cookies] Fix --cookies-from-browser with macOS Firefox profiles ()
Ref: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles#firefox:mac

Closes 
Authored by: RalphORama
2024-01-02 00:58:36 +00:00
bashonly
dab87ca236
[cookies] Containers JSON should be opened as utf-8 ()
Closes 
Authored by: bashonly
2023-08-12 21:30:23 +00:00
coletdjnz
4bf912282a
[networking] Remove dot segments during URL normalization ()
This implements RFC3986 5.2.4 remove_dot_segments during the URL normalization process.

Closes , 

Authored by: coletdjnz
2023-07-28 22:40:20 +00:00
pukkandan
62b5c94cad
[cleanup] Misc fixes
Closes 
2023-07-22 09:09:52 +05:30
pukkandan
1b392f905d
[utils] Add temporary shim for logging
Related: , 
2023-07-15 16:18:34 +05:30
bashonly
1ceb657bdd
[fd/external] Scope cookies
- ffmpeg: Calculate cookies from cookiejar and pass with `-cookies` arg instead of `-headers`
- aria2c, curl, wget: Write cookiejar to file and use external FD built-in cookiejar support
- httpie: Calculate cookies from cookiejar instead of `http_headers`
- axel: Calculate cookies from cookiejar and disable http redirection if cookies are passed
    - May break redirects, but axel simply don't have proper cookie support

Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj

Authored by: bashonly, coletdjnz
2023-07-06 23:14:38 +05:30
pukkandan
ad54c9130e
[cleanup] Misc
Closes , Closes , Closes , Closes , Closes 
Authored by: mikf, freezboltz, pukkandan
2023-06-21 09:21:20 +05:30
pukkandan
2e023649ea
[cookies] Revert compatibility breakage in b38d4c941d 2023-06-21 06:10:38 +05:30
Matt Broadway
b38d4c941d
[cookies] Update for chromium changes ()
Authored by: mbway
2023-05-29 19:21:35 +05:30
Nam Vu
a58182b75a
[cookies] Support custom Safari cookies path ()
Authored by: NextFire
2023-05-29 11:35:51 +05:30
coletdjnz
b87e01c123
[cookies] Move YoutubeDLCookieJar to cookies module ()
Authored by: coletdjnz
2023-05-27 07:08:19 +00:00
Simon Sawicki
9b7a48abd1
[cookies] Defer extraction of v11 key from keyring
Closes 

Authored by: Grub4K
2023-03-08 21:49:24 +01:00
Simon Sawicki
36069409ec
[cookies] Improve LenientSimpleCookie ()
Closes  
Authored by: Grub4K
2022-10-11 09:09:12 +05:30
pukkandan
46a5b335e7
[cookies] Let _get_mac_keyring_password fail gracefully
Closes 
2022-09-26 02:55:45 +05:30
pukkandan
2b24afa6d7
Improve 5736d79172 2022-09-17 10:14:44 +05:30
Simon Sawicki
8817a80d3a
[cookies] Parse cookies leniently ()
Closes , 
Authored by: Grub4K
2022-09-16 22:32:00 +05:30
bashonly
22df97f9c5
Fix bug in 941e881e1f ()
Authored by: bashonly
2022-09-11 14:32:35 +05:30
pukkandan
d2c8aadf79
[cleanup] Misc
Closes , Closes , Closes 
Authored by: pukkandan, MrRawes, DavidH-2022
2022-09-01 16:49:03 +05:30
bashonly
825d3ce386
[cookies] Improve container support ()
Closes 
Authored by: bashonly, pukkandan, coletdjnz
2022-09-01 15:22:59 +05:30
bashonly
9bd13fe5bb
[cookies] Support firefox container in --cookies-from-browser ()
Authored by: bashonly
2022-08-30 22:24:46 +05:30
pukkandan
fe0918bb65
Import ctypes only when necessary
Closes 
2022-08-03 17:48:59 +05:30
pukkandan
14f25df2b6
[compat] Remove deprecated functions from core code 2022-06-25 00:14:12 +05:30
pukkandan
54007a45f1
[cleanup] Consistent style for file heads 2022-06-25 00:08:58 +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
pukkandan
f0c9fb9682
[utils] Popen: Refactor to use contextmanager
Fixes https://github.com/yt-dlp/yt-dlp/issues/3531#issuecomment-1156223597
2022-06-16 06:23:50 +05:30
pukkandan
56ba69e4c9
[cleanup] Misc fixes
Closes 
2022-06-11 05:00:12 +05:30
Christoph Moench-Tegeder
dec30912a7
[cookies] Detect profiles for cygwin/BSD ()
Closes 
Authored by: moench-tegeder
2022-06-06 14:17:49 -07:00
pukkandan
591bb9d355
Fix color in -q -F
and convert `ydl._out_files`/`ydl._allow_colors` to `Namespace`

Closes 
2022-05-17 18:41:46 +05:30
pukkandan
0fa7d2c8e4
Bugfix for 2414649192 2022-05-17 00:55:37 +05:30
pukkandan
2414649192
[cleanup] Misc cleanup 2022-05-17 00:07:43 +05:30
pukkandan
2e4585da92
[cookies] Throttle progress-bar
Closes 
2022-05-12 10:54:49 +05:30
pukkandan
d76fa1f3d4
[cookies] Allow cookiefile to be a text stream
Closes 
2022-05-11 05:52:55 +05:30
pukkandan
0f06bcd759
[cleanup] Minor fixes (See desc)
* [youtube] Fix `--youtube-skip-dash-manifest`
* [build] Use `$()` in `Makefile`. Closes 
* Fix bug in 385ffb467b
* Fix bug in 43d7f5a5d0
* [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode`
* [utils] LazyList: Expose unnecessarily "protected" attributes
and other minor cleanup
2022-05-09 17:59:26 +05:30
pukkandan
9b8ee23b99
[dependencies] Create module with all dependency imports 2022-04-21 00:48:52 +05:30
pukkandan
19a0394044
[cleanup] Misc cleanup and refactor () 2022-04-18 02:28:28 +05:30
pukkandan
f82711587c
[cleanup] Sort imports
Using https://github.com/PyCQA/isort

    isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12 05:32:52 +05:30