Commit Graph

970 Commits (17cb02d0c6a2c5dd277c8f3895e7b25d3908dbac)

Author SHA1 Message Date
Unknown 39e7107d7f Merge branch 'ytdl-org-master'
Tom-Oliver Heidel 9aa79d6460 Merge branch 'master' of https://github.com/zubearc/youtube-dl into zubearc
zubearc 8848f8083b [test/youtube] update subtitle tests
Unknown 8ef153ee6f rot47 capital letters.
Unknown 3867038a06 renaming issues resolved
Unknown cefecac12c [skip travis] renaming
to avoid using same folder when using pip install for example
Sergey M․ 84213ea8d4
[youtube] Extract chapters from JSON (closes )
Sergey M․ c380cc28c4
[utils] Improve cookie files support
+ Add support for UTF-8 in cookie files
* Skip malformed cookie file entries instead of crashing (invalid entry len, invalid expires at)
Sergey M․ e40c758c2a
[youtube] Improve player id extraction and add tests
Sergey M․ 042b664933
Revert "[utils] Add support for cookies with spaces used instead of tabs"
According to [1] TABs must be used as separators between fields.
Files produces by some tools with spaces as separators are considered
malformed.

1. https://curl.haxx.se/docs/http-cookies.html

This reverts commit cff99c91d1.
Sergey M․ cff99c91d1
[utils] Add support for cookies with spaces used instead of tabs
Sergey M․ ea17979d83
[test_subtitles] Remove obsolete test
Sergey M․ 4e9e1e240d
[test_YoutubeDL] Add tests for (closes )
Sergey M․ e0abaab293
[test_YoutubeDL] Fix get_ids
Sergey M․ 42db58ec73
[utils] Improve str_to_int
Remita Amine 348c6bf1c1 [utils] handle int values passed to str_to_int
Sergey M․ 1ced222120
[utils] Add generic caesar cipher and rot47
InfernalUnderling 9d30c2132a [utils] Handle rd-suffixed day parts in unified_strdate ()
Remita Amine 237513e801 [yahoo] restore support for cbs suffixed URLs
Sergey M․ 824fa51165
[utils] Improve subtitles_filename (closes )
Sergey M․ 28cc2241e4
[utils] Restrict parse_codecs and add theora as known vcodec ()
Sergey M․ 53cd37bac5
[utils] Improve strip_or_none
Sergey M․ 3089bc748c
Fix W504 and disable W503 (closes )
Jakub Wilk fd35d8cdfd [utils] Transliterate "þ" as "th" ()
Despite visual similarity "þ" is unrelated to "p".
It is normally transliterated as "th":

    $ echo þ-Þ | iconv -t ASCII//TRANSLIT
    th-TH
Sergey M․ 5e1271c56d
[utils] Improve int_or_none and float_or_none ()
Sergey M․ d493f15c11
[extractor/common] Improve HTML5 entries extraction and add some realworld tests
Sergey M․ 0dc41787af
[utils] Introduce parse_bitrate
Sergey M․ 2e27421c70
[test_InfoExtractor] Add test for
Sergey M․ 067aa17edf
Start moving to ytdl-org
Sergey M․ fca9baf0da
[test] Fix test_compat_etree_Element
Sergey M․ 399f76870d
[compat] Introduce compat_etree_Element
remitamine e7e62441cd [utils] strip #HttpOnly_ prefix from cookies files ()
Ales Jirasek 22f5f5c6fc
[malltv] Add extractor (closes )
Sergey M․ e118a8794f
[YoutubeDL] Fix typo in string negation implementation and add more tests (closes )
Sergey M․ fad4ceb534
[utils] Fix urljoin for paths with non-http(s) schemes
Remita Amine fc746c3fdd [test/test_InfoExtractor] add test for
Sergey M․ 2cc779f497
[YoutubeDL] Add negation support for string comparisons in format selection expressions (closes , closes )
Sergey M․ a16c7c033a
[test/helper] Add support for maxcount and count collection len test checkers
Sergey M․ 6e29458f24
[test/testdata/cookies/session_cookies.txt] Fix empty expires test data
Sergey M․ 9e02c2c704
[YoutubeDLCookieJar] Add test for keeping session cookies
Sergey M․ 6864855eb1
[tests] Fix invalid escape sequences
Xiao Di Guan 95e42d7336 [extractor/common] Ensure response handle is not prematurely closed before it can be read if it matches expected_status (resolves , closes , resolves )
Sergey M․ 25d110be30
[utils] Properly recognize AV1 codec (closes )
Sergey M․ af03000ad5
[utils] Introduce url_or_none
Sergey M․ e9c671d5e8
[utils] Allow JSONP with empty func name (closes )
Enes 85750f8972 [openload] Improve ext extraction
Remita Amine 3bb3ff38a1 [test_utils] add tests for b836118724
Sergey M․ 6cc622327f
[utils] Introduce merge_dicts
Sergey M․ 1cc47c6674
[utils] Fix match_str for boolean meta fields
Dan Salmon 518d5ba519 Fix some tests