aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_subtitles.py
Commit message (Collapse)AuthorAgeFilesLines
* [cleanup] Consistent style for file headspukkandan2022-06-251-0/+1
|
* [compat] Remove more functionspukkandan2022-06-251-1/+1
| | | | Removing any more will require changes to a large number of extractors
* Update to ytdl-commit-8a158a9pukkandan2022-06-201-32/+71
| | | | | | | [NHK] Use new API URL https://github.com/ytdl-org/youtube-dl/commit/6508688e88c83bb811653083db9351702cd39a6a Closes #2337, Closes #4063
* [cleanup] Minor fixes (See desc)pukkandan2022-05-091-1/+1
| | | | | | | | | | * [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
* [cleanup] Sort importspukkandan2022-04-121-14/+14
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-20/+18
| | | | | | | | | | 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
* [Ted] Rewrite extractor (#2359)trasssh2022-01-191-2/+2
| | | | Closes #2343 Authored by: pukkandan, trassshhub
* [pbs] Fix subtitle extraction (#813)coletdjnz2021-09-081-0/+38
| | | | | Original PR: https://github.com/ytdl-org/youtube-dl/pull/24430, https://github.com/ytdl-org/youtube-dl/pull/17434 Closes: #836, https://github.com/ytdl-org/youtube-dl/issues/18796, https://github.com/ytdl-org/youtube-dl/issues/17273 Authored-by: coletdjnz, gesa, raphaeldore
* [test] Use `pytest` instead of `nosetests` (#482)pukkandan2021-07-231-1/+18
| | | | `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
* [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-1/+1
| | | | | | | | | * 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
* Update to ytdl-2021.01.08pukkandan2021-01-081-2/+10
|
* Merge branch 'master' of https://github.com/zubearc/youtube-dl into zubearcTom-Oliver Heidel2020-09-061-5/+11
|\
| * [test/youtube] update subtitle testszubearc2020-09-051-5/+11
| |
* | [skip travis] renamingUnknown2020-09-021-1/+1
|/ | | to avoid using same folder when using pip install for example
* [test_subtitles] Remove obsolete testSergey M․2020-02-291-13/+0
|
* Fix some testsDan Salmon2018-04-181-2/+2
|
* [test_subtitles] Fix raiplay testSergey M․2017-04-081-4/+4
|
* [test_subtitles] update youtube subtitles testsremitamine2016-02-041-6/+6
|
* [test_subtitles] Fix TestRaiSubtitlesYen Chi Hsuan2016-01-311-2/+2
| | | | RaiIE is renamed to RaiTVIE in 06d5556dface3901a86419b6b125ef377116448f
* [test_subtitles] remove BlipTV testremitamine2015-12-211-13/+0
|
* [test/subtitles] Add test for DemocracynowIEYen Chi Hsuan2015-11-041-0/+21
|
* [test/subtitles] Add test for ThePlatformFeedIEYen Chi Hsuan2015-08-211-0/+13
|
* [nrk] Update subtitles testYen Chi Hsuan2015-05-271-1/+1
| | | | | Subtitle conversion routine is removed, so the subtitles are TTML now. See 1c7e2e64f6328024711d5fa999d4498396f4cb5c
* [funnyordie] Add subtitles testSergey M․2015-03-111-0/+13
|
* [rtve] Extract subtitlesJaime Marquínez Ferrándiz2015-02-231-0/+15
|
* [test/subtitles] Update checksum for VikiJaime Marquínez Ferrándiz2015-02-221-1/+1
|
* [test/subtitles] Remove some testsJaime Marquínez Ferrándiz2015-02-221-108/+13
| | | | Test only with 'allsubtitles', the language selection is already tested in test_YoutubeDL.py
* [YoutubeDL] don't set the 'requested_subtitles' without writesubtitles or ↵Jaime Marquínez Ferrándiz2015-02-221-5/+5
| | | | writeautomaticsub
* [theplatform] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-191-0/+15
|
* [viki] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-181-0/+13
|
* [rai] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-181-0/+13
|
* [nrk] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-181-0/+13
|
* [mtv] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-181-0/+16
|
* [npo] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-181-0/+13
|
* [lynda] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-181-0/+13
|
* [bliptv] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-171-2/+0
|
* [youtube] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-161-5/+0
| | | | The automatic captions are stored in the 'automactic_captions' field, which is used if no normal subtitles are found for an specific language.
* [dailymotion] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-161-17/+0
|
* [YoutubeDL] store the subtitles to download in the 'requested_subtitles' fieldJaime Marquínez Ferrándiz2015-02-161-1/+1
| | | | | We need to keep the orginal subtitles information, so that the '--load-info' option can be used to list or select the subtitles again. We'll also be able to have a separate field for storing the automatic captions info.
* [vimeo] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-161-17/+0
| | | | Removed some tests, the behaviour should be checked in a test for the YoutubeDL class
* Improve subtitles supportJaime Marquínez Ferrándiz2015-02-161-12/+12
| | | | | | | | | | | | For each language the extractor builds a list with the available formats sorted (like for video formats), then YoutubeDL selects one of them using the '--sub-format' option which now allows giving the format preferences (for example 'ass/srt/best'). For each format the 'url' field can be set so that we only download the contents if needed, or if the contents needs to be processed (like in crunchyroll) the 'data' field can be used. The reasons for this change are: * We weren't checking that the format given with '--sub-format' was available, checking it in each extractor would be repetitive. * It allows to easily support giving a format preference. * The subtitles were automatically downloaded in the extractor, but I think that if you use for example the '--dump-json' option you want to finish as fast as possible. Currently only the ted extractor has been updated, but the old system still works.
* [test/subtitles] Fix some testsJaime Marquínez Ferrándiz2015-02-151-2/+2
| | | | The checksym for the CeskaTelevize subtitles has changed again, so we just test that it has a reasonable length.
* [test/subtitles] Update checksumsJaime Marquínez Ferrándiz2015-02-131-2/+2
|
* [ceskatelevize] Add subtitles testsSergey M․2015-01-071-0/+28
|
* [youtube] Add support for automatically translated subtitles (fixes #4555)Jaime Marquínez Ferrándiz2014-12-311-0/+8
| | | | They have a manually uploaded subtitles track and YouTube can transtale it.
* [test/test_subtitles] Update checksum for vimeo subtitle fileJaime Marquínez Ferrándiz2014-11-301-1/+1
|
* PEP8 appliedJouke Waleson2014-11-231-0/+1
|
* [tests] ModernizePhilipp Hagemeister2014-11-161-19/+20
|
* [walla] Fix typoSergey M․2014-10-091-1/+1
|