aboutsummaryrefslogtreecommitdiff
path: root/test/test_socks.py
AgeCommit message (Collapse)Author
2024-11-24[rh:websockets] Support websockets 14.0+ (#11616)coletdjnz
Authored by: coletdjnz
2024-06-12[cleanup] Add more ruff rules (#10149)sepro
Authored by: seproDev Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com> Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
2024-03-16[rh:curlcffi] Add support for `curl_cffi`coletdjnz
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-01-20[test] Skip source address tests if the address cannot be bound to (#8900)coletdjnz
Fixes https://github.com/yt-dlp/yt-dlp/issues/8890 Authored by: coletdjnz
2023-11-20[rh:websockets] Migrate websockets to networking framework (#7720)coletdjnz
* 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-10-13[rh:requests] Add handler for `requests` HTTP library (#3668)coletdjnz
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-09-18[networking] Fix various socks proxy bugs (#8065)coletdjnz
- 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-08-25[tests] Add tests for socks proxies (#7908)coletdjnz
Authored by: coletdjnz
2022-06-25[compat] Remove deprecated functions from core codepukkandan
2022-06-25[cleanup] Consistent style for file headspukkandan
2022-06-25[compat] Remove more functionspukkandan
Removing any more will require changes to a large number of extractors
2022-05-09[cleanup] Minor fixes (See desc)pukkandan
* [youtube] Fix `--youtube-skip-dash-manifest` * [build] Use `$()` in `Makefile`. Closes #3684 * Fix bug in 385ffb467b2285e85a2a5495b90314ba1f8e0700 * Fix bug in 43d7f5a5d0c77556156a3f8caa6976d3908a1e38 * [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode` * [utils] LazyList: Expose unnecessarily "protected" attributes and other minor cleanup
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12[cleanup] Upgrade syntaxpukkandan
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
2021-07-23[test] Use `pytest` instead of `nosetests` (#482)pukkandan
`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
2021-06-06[cleanup] Point all shebang to `python3` (#372)felix
Authored by: fstirlitz
2021-02-25Completely change project name to yt-dlp (#85)Pccode66
* 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
2020-09-02[skip travis] renamingUnknown
to avoid using same folder when using pip install for example
2016-05-14[test/test_socks] Skip SOCKS testsYen Chi Hsuan
They occasional trigger errors or blocks (https://travis-ci.org/rg3/youtube-dl/jobs/130184883)
2016-05-10[test/test_socks] Use a different port rangeYen Chi Hsuan
Seems on Travis CI, ports in the original range are often used.
2016-05-10[test/test_socks] Test with local SOCKS serversYen Chi Hsuan
2016-05-10[test/test_socks] Add tests for SOCKS proxiesYen Chi Hsuan