| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Authored by: coletdjnz, pukkandan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Authored by: coletdjnz, pukkandan
|
|
|
|
|
|
| |
Closes #3736
Authored by: lksj, puc9, pukkandan
Co-authored-by: puc9 <51006296+puc9@users.noreply.github.com>
|
|
|
|
|
| |
[core] Make `--max-downloads ...` stop immediately on reaching the limit
https://github.com/ytdl-org/youtube-dl/commit/e6a836d54ca1d3cd02f3ee45ef707a46f23e8291
|
|
|
|
|
|
| |
and split download tests so they can be more easily run in CI
Authored by: coletdjnz
|
| |
|
| |
|
| |
|
|
|
|
| |
Removing any more will require changes to a large number of extractors
|
|
|
|
| |
Authored by: coletdjnz
|
|
|
|
|
|
|
| |
[NHK] Use new API URL
https://github.com/ytdl-org/youtube-dl/commit/6508688e88c83bb811653083db9351702cd39a6a
Closes #2337, Closes #4063
|
|
|
|
|
|
| |
Using https://github.com/PyCQA/isort
isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
|
|
|
|
|
|
|
|
|
|
| |
Using https://github.com/asottile/pyupgrade
1. `__future__` imports and `coding: utf-8` were removed
2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format`
3. f-strings were cherry-picked from `pyupgrade --py36-plus`
Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
|
| |
|
|
|
| |
Authored by: animelover1984, pukkandan
|
|
|
|
|
|
|
| |
* Remove unnecessary uses of _list_from_options_callback
* Fix download tests - Bug from 6e84b21559f586ee4d6affb61688d5c6a0c21221
* Rename ExecAfterDownloadPP to ExecPP and refactor its tests
* Ensure _write_ytdl_file closes file handle on error - Potential fix for #517
|
|
|
|
| |
Use `test_YourExtractor_all` to invoke them
|
| |
|
|
|
|
| |
`nosetests` is no longer being maintained : https://github.com/nose-devs/nose/issues/1099
and will stop working in py 3.10 as can be seen in #480
|
|
|
|
| |
Authored by: fstirlitz
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
| |
to avoid using same folder when using pip install for example
|
|
|
|
| |
closes #13757)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
[test_download] Print test names in case of network errors
[test_download] Add comments for nose parameters
[test_download] Modify outtmpl to prevent info JSON filename conflicts
Thanks @jaimeMF for the idea.
[travis] Only download tests should be run in parallel
|
|
|
|
|
|
|
|
|
|
| |
In pycodestyle 2.1.0, E305 was introduced, which requires two blank
lines after top level declarations, too.
See https://github.com/PyCQA/pycodestyle/issues/400
See also #10689; thanks @stepshal for first mentioning this issue and
initial patches
|
|
|
|
| |
Some playlist extractors return a 'url' result, which wouldn't be resolved.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It would print the debug headers for each test.
And nose uses a StringIO object for stdout, which in python 2.x doesn't have the 'encoding' attribute.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
not skipped
|
|
|
|
| |
This should detect when we're downloading a small text file by accident.
|
|
|
|
| |
From now on, test_download will run these tests. That means we benefit not only from the networking setup in there, but also from the other tests (for example test_all_urls to find problems with _VALID_URLs).
|