cc52de4356
[cleanup] Point all shebang to python3
( #372 )
...
Authored by: fstirlitz
2021-06-06 00:59:04 +05:30
7a5c1cfe93
Completely change project name to yt-dlp ( #85 )
...
* 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
2021-02-25 00:15:56 +05:30
5d0c537141
Fix/disable tests
...
The disabled tests needs to be fixed later
Tests for FormatSort, Multistreams also needs be created
2021-01-07 17:22:46 +05:30
732044afb2
Add --write-*-link by h-h-h-h
...
Authored-by: h-h-h-h
2020-12-13 20:05:04 +05:30
cefecac12c
[skip travis] renaming
...
to avoid using same folder when using pip install for example
2020-09-02 20:25:25 +02:00
fca9baf0da
[test] Fix test_compat_etree_Element
2019-03-06 02:46:26 +07:00
399f76870d
[compat] Introduce compat_etree_Element
2019-03-06 01:18:52 +07:00
6864855eb1
[tests] Fix invalid escape sequences
2018-11-23 00:43:42 +07:00
942b44a052
[test_compat] Do not use dash in env variables' names
2017-03-26 03:24:25 +07:00
dfe5fa49ae
[compat] Fix compat_shlex_split for non-ASCII input
...
Closes #9871
2016-07-07 17:37:29 +08:00
a9eede3913
[test/compat] compat_shlex_split: test with newlines
2016-07-01 03:30:35 +07:00
eb7941e3e6
[compat] Fix for XML with <!DOCTYPE> in Python 2.7 and 3.2
...
Such XML documents cause DeprecationWarning if python is run
with `-W error`
2016-05-23 01:40:11 +08:00
edaa23f822
[compat] Rename struct_(un)pack to compat_struct_(un)pack
2016-05-10 14:51:38 +08:00
dab0daeeb0
[utils,compat] Move struct_pack and struct_unpack to compat.py
2016-05-10 14:51:38 +08:00
fad7bbec3a
[test_compat] Remove unused import
2016-05-09 22:15:55 +06:00
20cfdcc910
[test_compat] Avoid None values for compat_setenv
2016-05-09 22:00:14 +06:00
1292638754
[test_compat] Use compat_setenv
2016-05-09 21:58:38 +06:00
fe40f9eef2
[compat] Add compat_setenv
2016-05-09 21:55:03 +06:00
92d5477d84
[compat] Handle tuples properly in urlencode()
...
Fixes #9055
2016-04-06 18:29:54 +08:00
e289d6d62c
[test_compat] Add tests for compat_urllib_parse_urlencode
2016-03-26 02:38:33 +06:00
f78546272c
[compat] compat_etree_fromstring: also decode the text attribute
...
Deletes parse_xml from utils, because it also does it.
2015-10-26 16:41:24 +01:00
387db16a78
[compat] compat_etree_fromstring: only decode bytes objects
2015-10-25 20:30:54 +01:00
36e6f62cd0
Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x ( #7178 )
...
Attributes aren't unicode objects, so they couldn't be directly used in info_dict fields (for example '--write-description' doesn't work with bytes).
2015-10-25 20:13:16 +01:00
3513d41436
[test_compat] Fix typo
2015-09-05 21:45:52 +06:00
ee087c79ad
[test_compat] Add test for compat_shlex_split
2015-09-05 21:41:34 +06:00
8954e48140
[test_compat] Add tests for compat_urllib_parse_unquote_plus
2015-07-17 23:31:23 +06:00
d79febcd06
[test_compat] Remove redundant test
2015-07-17 23:09:56 +06:00
14309e1ddc
[test_compat] Make tests more idiomatic
2015-07-17 22:58:39 +06:00
4a63291144
Add tests for compat_urllib_parse_unquote
2015-07-17 09:46:08 -05:00
f56875f271
[test/test_compat] Restore the old value of the HOME environment variable
...
If the test was run before the YoutubeIE tests (for example by running
"nosetests -v test/test_compat.py test/test_download.py -m 'Youtube_1|compat_expand'"),
it wrote the signatures cache to the 'C:\Documents and Settings\тест\Application Data' folder.
It failed due to a problem in the cache code and the write_json_file function (fixed in f03e33b89a622af13fa5275c46b63aaa4814c499)
2014-11-19 00:02:24 +01:00
278143df5b
[test_compat] Ignore unicode_literals
2014-11-03 19:12:06 +01:00
8c25f81bee
[util] Move compatibility functions out of util
...
utils is large enough without these compatibility functions.
Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py .
Everything else (i.e. youtube-dl-specific helpers) goes into utils.py .
2014-11-02 11:23:42 +01:00