aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_http.py
Commit message (Collapse)AuthorAgeFilesLines
* [extractor/html5] Separate into own extractor (#4307)pukkandan2022-08-021-2/+2
| | | | | | Closes #4291 Authored by: coletdjnz, pukkandan
* [cleanup] Consistent style for file headspukkandan2022-06-251-2/+3
|
* [compat] Remove more functionspukkandan2022-06-251-9/+11
| | | | Removing any more will require changes to a large number of extractors
* [cleanup] Misc cleanuppukkandan2022-05-171-1/+1
|
* [cleanup] Minor fixes (See desc)pukkandan2022-05-091-4/+4
| | | | | | | | | | * [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
* Add support for SSL client certificate authentication (#3435)coletdev2022-05-021-0/+44
| | | | | | | 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>
* [test] Convert warnings into errorspukkandan2022-04-181-2/+3
| | | | | | * And fix some existing warnings Authored by: fstirlitz
* [cleanup] Sort importspukkandan2022-04-121-2/+4
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-9/+6
| | | | | | | | | | 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
* [cleanup] Remove unused code paths (#2173)felix2022-04-121-25/+4
| | | | | | | | | | | | | | | | | | | Notes: * `_windows_write_string`: Fixed in 3.6 * https://bugs.python.org/issue1602 * PEP: https://www.python.org/dev/peps/pep-0528 * Windows UTF-8 fix: Fixed in 3.3 * https://bugs.python.org/issue13216 * `__loader__`: is always present in 3.3+ * https://bugs.python.org/issue14646 * `workaround_optparse_bug9161`: Fixed in 2.7 * https://bugs.python.org/issue9161 Authored by: fstirlitz
* [cleanup] Point all shebang to `python3` (#372)felix2021-06-061-1/+1
| | | | Authored by: fstirlitz
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-2/+2
| | | | | | | | | * 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
* [skip travis] renamingUnknown2020-09-021-2/+2
| | | to avoid using same folder when using pip install for example
* [extractor/common] Ensure response handle is not prematurely closed before ↵Xiao Di Guan2018-11-031-9/+1
| | | | it can be read if it matches expected_status (resolves #17195, closes #17846, resolves #17447)
* [test_http] Use 127.0.0.1 instead of localhostSergey M․2018-02-031-13/+13
|
* Update coding style after pycodestyle 2.1.0Yen Chi Hsuan2016-11-171-0/+1
| | | | | | | | | | 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
* [test/test_http] Update testsYen Chi Hsuan2016-10-121-2/+2
| | | | | After switching to HTML5 extraction helpers in generic.py, the result info_dict is always a playlist.
* [test/test_http] Update tests for 38cce791c71e9da33854e56114233d60345e18c0Yen Chi Hsuan2016-07-031-10/+10
|
* [test/test_http] Fix getsockname() on JythonYen Chi Hsuan2016-06-021-1/+1
|
* [test/test_utils] Add test for #9588Yen Chi Hsuan2016-06-021-8/+47
|
* [utils] Encode hostnames before passing to urllibYen Chi Hsuan2016-03-231-0/+10
| | | | | | | With IDN (Internationalized Domain Name) and a proxy, non-ascii URLs are passed down to urllib/urllib2, causing UnicodeEncodeError Fixes #8890
* [test/http] Fix failure in JythonYen Chi Hsuan2016-03-031-1/+6
| | | | | make offlinetest passed on the latest Jython hg version with patched lib-python/2.7/urllib2.py pulled from CPython 2.7.11
* [test/http] Add test for proxy supportJaime Marquínez Ferrándiz2015-03-201-1/+48
|
* [test_http] PEP8Philipp Hagemeister2015-01-301-0/+1
|
* Add a test for --no-check-certificatePhilipp Hagemeister2015-01-301-0/+71