aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
AgeCommit message (Collapse)Author
2015-07-10[extractor/common] Add method for extracting form hidden input fields as dictSergey M․
2015-07-06[common] Add 'fatal' to _extract_m3u8_formatsYen Chi Hsuan
2015-06-29[extractor/common] Remove superfluous lineSergey M․
2015-06-28[extractor/common] Use NO_DEFAULT from utilsSergey M․
2015-06-07[common] Add note and errnote field for _extract_m3u8_formatsYen Chi Hsuan
2015-05-17[extractor/common] Relax valid url check verbositySergey M․
2015-05-12[utils,common] Merge format_srt_time and _subtitles_timecodeYen Chi Hsuan
format_srt_time uses a comma as the delimiter between seconds and milliseconds while _subtitles_timecode uses a dot. All .srt examples I found on the Internet uses a comma, so I use a comma in the merged version. See http://matroska.org/technical/specs/subtitles/srt.html and http://devel.aegisub.org/wiki/SubtitleFormats/SRT
2015-05-07[common] Ignore subtitles in m3u8Yen Chi Hsuan
2015-05-06[extractor/common] Fallback to empty string for (yet) missing `format_id` in ↵Sergey M․
`_sort_formats` (Closes #5624)
2015-05-02Remove code that was only used by the Grooveshark extractorJaime Marquínez Ferrándiz
2015-04-29Typo: twice "the the" to "the"zouhair
2015-04-20[extractor/common] Add ability to specify custom field preference for ↵Sergey M․
`_sort_formats`
2015-04-17InfoExtractor._search_regex: Suggest updating when the regex is not found ↵Jaime Marquínez Ferrándiz
(suggested in #5442) Reuse the same message from ExtractorError
2015-04-16[extractor/common] Add the encoding parameterYen Chi Hsuan
The QQMusic info extractor need forced encoding for correct working.
2015-04-12[utils] Add `video_title` for `url_result`Sergey M․
2015-04-04[extractor/common] Remove f4m sectionSergey M․
It's now provided by `f4m_id`
2015-03-13[extractor/common] Add subtitles timecode formatterSergey M․
2015-03-06[extractor/common] Remove 'm3u8' from quality selection URLSergey M․
2015-03-06[extractor/common] Fix format_id when `last_media` is None and always ↵Sergey M․
include `m3u8_id` if present The rationale behind `m3u8_id` was to resolve duplicates when processing several m3u8 playlists within the same media that give equal resulting `format_id`'s, e.g. `youtube-dl http://www.rts.ch/play/tv/passe-moi-les-jumelles/video/la-fee-des-bois-mustang-les-chemins-du-vent?id=3854925 -F`
2015-03-06[extractor/common] Improve m3u format IDs (#5143)Philipp Hagemeister
2015-03-02[extractor/common] Assume non HTTP(S) URLs validSergey M․
2015-02-26[extractor/common] Pass in video_id (#5057)Philipp Hagemeister
2015-02-24[extractor/common] Extract HTTP (possibly f4m) URLs from a .smil fileAntti Ajanki
2015-02-24[extractor/common] Extract the first of a seq of videos in a .smil fileAntti Ajanki
2015-02-23Merge branch 'subtitles-rework'Jaime Marquínez Ferrándiz
(Closes PR #4964)
2015-02-23[extractor/common] Fix preference for m3u8 quality selection URLSergey M․
2015-02-21PEP8: W503Philipp Hagemeister
2015-02-21[extractor/common] Recognize Indian censorship (#5021)Philipp Hagemeister
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-17PEP8 fixesPhilipp Hagemeister
2015-02-17[twitch:stream] Prefer the 'source' format (fixes #4972)Jaime Marquínez Ferrándiz
2015-02-17[extractor/common] Test URLs with GETSergey M?
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-16[extractor/common] Move up filesizePhilipp Hagemeister
filesize and tbr should correlate, so it doesn't make sense to treat them differently.
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․