aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
AgeCommit message (Collapse)Author
2015-02-17[extractor/common] Simplify subtitles handling methodsJaime Marquínez Ferrándiz
Initially I was going to use a single method for handling both subtitles and automatic captions, that's why I used the 'list_subtitles' and the 'subtitles' variables.
2015-02-16[youtube] Convert to new subtitles systemJaime Marquínez Ferrándiz
The automatic captions are stored in the 'automactic_captions' field, which is used if no normal subtitles are found for an specific language.
2015-02-16[YoutubeDL] store the subtitles to download in the 'requested_subtitles' fieldJaime Marquínez Ferrándiz
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.
2015-02-16Improve subtitles supportJaime Marquínez Ferrándiz
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.
2015-02-14[extractor/common] Fix link to external documentationJaime Marquínez Ferrándiz
2015-02-11[youtube] Extract average rating (closes #2362)Jaime Marquínez Ferrándiz
2015-02-10[escapist] Filter video differently (Fixes #4919)Philipp Hagemeister
2015-02-10[options] Add --no-colorPhilipp Hagemeister
2015-02-10[extractor/common] Wrap extractor errors (Fixes #1194)Philipp Hagemeister
For now, we just wrap some common errors. More may follow. We do not want to catch actual programming errors in the extractors, such as 1 // 0.
2015-02-08[extractor/common] Add new helper method _family_friendly_searchNaglis Jonaitis
2015-02-06[extractor/common] Correct sort order.Philipp Hagemeister
We should look at height and width before ext_preference.
2015-02-06[extractor/common] Fix 2.0 manifest extraction (Closes #4830)Sergey M․
2015-02-05[extractor/common] Prefix f4m/m3u8 entries with identifierSergey M․
2015-02-03[wsj] Add new extractor (Fixes #4854)Philipp Hagemeister
2015-02-03[sort_formats] Prefer bitrate over video sizePhilipp Hagemeister
720p @ 1000KB/s looks way better than 1080p @ 500KB/s
2015-02-02[nerdist] Add new extractor (Fixes #4851)Philipp Hagemeister
2015-01-30[extractor/common] Document all protocol valuesPhilipp Hagemeister
2015-01-26[common] Generalize URLs' HTTP errors pre-testingSergey M․
2015-01-25[rtl2] PEP8, simplify, make rtmp tests run (#470)Philipp Hagemeister
2015-01-25Add --list-thumbnailsPhilipp Hagemeister
2015-01-24[extractors] Use http_headers for setting the User-Agent and the RefererJaime Marquínez Ferrándiz
2015-01-10Merge remote-tracking branch 'Dineshs91/f4m-2.0'Philipp Hagemeister
2015-01-10[youtube|ffmpeg] Automatically correct video with non-square pixels (Fixes ↵Philipp Hagemeister
#4674)
2015-01-10Merge remote-tracking branch 'Tithen-Firion/master'Philipp Hagemeister
2015-01-09[netzkino] Add new extractor (Fixes #4669)Philipp Hagemeister
2015-01-08[InfoExtractor/common] Correct and test meta tag matchingPhilipp Hagemeister
2015-01-07Respect age_limit when listing extractors (Fixes #4653)Philipp Hagemeister
2015-01-03[youtube] Correct handling when DASH manifest is not necessary to find all ↵Philipp Hagemeister
formats
2015-01-01[extractor/common] Allow multiline content tagsSergey M․
2014-12-21[extractor/common] Update docstring: replace FileDownloader with YoutubeDLJaime Marquínez Ferrándiz
2014-12-12Merge remote-tracking branch 'Tithen-Firion/hsw-update'Philipp Hagemeister
2014-12-12[vine] Provide alt_title (Fixes #4448)Philipp Hagemeister
2014-12-09[extractor/common] Add generic SMIL formats extraction routineSergey M․
2014-12-09[extractor/common] Document ie_key in url resultsPhilipp Hagemeister
2014-12-07[extractor/common] Add description to playlist_resultSergey M․
2014-12-06Allow iterators for playlist result entriesPhilipp Hagemeister
2014-12-05[common] Split _download_jsonTithen-Firion
Add ability for extractor to use _parse_json
2014-12-04[common] Add new parameters for _download_webpageTithen-Firion
2014-12-04pep8 and minor beautification all aroundPhilipp Hagemeister
2014-11-30[youtube] Use a cookie for seeting the languageJaime Marquínez Ferrándiz
This way, we don't have to do an aditional request
2014-11-26[generic] Detect direct video links (Fixes #4149, #4313)Philipp Hagemeister
2014-11-23PEP8: applied even more rulesJouke Waleson
2014-11-23PEP8 appliedJouke Waleson
2014-11-20[extractor/common] Document _type values (Motivated by #4254)Philipp Hagemeister
2014-11-20[arte] Clean up format sorting messPhilipp Hagemeister
We now use our standard sorting facilities. As a side effect, it's finally possible to download German videos from French URLs and vice versa.
2014-11-04[heise] Fix description, thumbnail and format IDPhilipp Hagemeister
2014-11-02[util] Move compatibility functions out of utilPhilipp Hagemeister
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-10-30Sort formats by fps as wellPhilipp Hagemeister
2014-10-30[youtube] Add formats 298, 299 (Fixes #4056)Philipp Hagemeister
2014-10-27[extractor/common] Improve m3u8 outputPhilipp Hagemeister