Jaime Marquínez Ferrándiz
65469a7f8b
[vimeo] Convert to new subtitles system
Removed some tests, the behaviour should be checked in a test for the YoutubeDL class
10 years ago
Jaime Marquínez Ferrándiz
6b597516c1
[atresplayer] Convert to new subtitles system
10 years ago
Jaime Marquínez Ferrándiz
b5857f62e2
[crunchyroll] Convert to new subtitles system
10 years ago
Jaime Marquínez Ferrándiz
a504ced097
Improve subtitles support
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.
10 years ago
Philipp Hagemeister
59b8ab5834
[rtlnl|generic] Add support for rtl.nl embeds ( Fixes #4959 )
10 years ago
Philipp Hagemeister
85e80f71cd
[yam] Allow faults in optional fields ( #4943 )
10 years ago
Philipp Hagemeister
03cd72b007
[extractor/common] Move up filesize
filesize and tbr should correlate, so it doesn't make sense to treat them differently.
10 years ago
Sergey M․
f813928e4b
[bbccouk] Fix fallback to legacy playlist
10 years ago
Sergey M․
b9c7a97318
[history] Add extractor ( Closes #4934 )
10 years ago
Sergey M․
9fb2f1cd6d
[theplatform] Add URL sign capability
10 years ago
Jaime Marquínez Ferrándiz
6ca7732d5e
[extractor/common] Fix link to external documentation
10 years ago
Jaime Marquínez Ferrándiz
b0ab0fac49
Remove unused imports
10 years ago
Naglis Jonaitis
a294bce82f
[streamcz] Fix extraction ( Closes #4940 )
10 years ago
Sergey M․
76d1466b08
[drtuber] Add one more title regex
10 years ago
peugeot
52e1d0ccc4
[beeg] fix test
10 years ago
peugeot
10e3c4c221
[drtuber] fix extraction
10 years ago
Sergey M․
68f2d273bf
[sunporno] Keep old video regex just in case
10 years ago
peugeot
ae1580d790
[sunporno] fix extraction
10 years ago
Sergey M․
a4f3d779db
[nbcnews] Simplify
10 years ago
Ryan Schmidt
d9aa2b784d
Support NBC Nightly News broadcasts
10 years ago
Sergey M․
9347fddbfc
[1tv] Cover arbitraty URLs
10 years ago
Sergey M․
037e9437e4
[camdemy] Fix _VALID_URL
10 years ago
Jaime Marquínez Ferrándiz
ae6423d704
[bambuser] Fix 'uploader_id' extraction ( fixes #4944 )
10 years ago
Yen Chi Hsuan
7105440cec
[Yam] Add new extractor
10 years ago
Sergey M․
171ca612af
[npo:radio] Move to extractor to common npo place and add extractor for fragments
10 years ago
robin
c3d64fc1b3
[nporadio] Edit to confirm to flake8 standards
10 years ago
robin
7c24ce225d
[NPORadio] Added extractor for live radio
10 years ago
Philipp Hagemeister
08b38d5401
[camdemy] Simplify and make more robust ( #4938 )
Do not throw errors if view count or upload date extraction fails.
Dispose of re.MULTILINE, which had absolutely no effect without any ^ or $ in sight.
Follow PEP8 naming conventions.
10 years ago
Yen Chi Hsuan
7e6011101f
[camdemy] Python2 compatibility
10 years ago
Yen Chi Hsuan
c40feaba77
[camdemy] Add support for folders
10 years ago
Jaime Marquínez Ferrándiz
2d30521ab9
[youtube] Extract average rating ( closes #2362 )
10 years ago
Sergey M․
124f3bc67d
[dotsub] Fix extraction and modernize
10 years ago
Yen Chi Hsuan
8367d3f3cb
[camdemy] Detection of external sources
10 years ago
Sergey M․
c56d7d899d
[dctptv] Skip rtmp download
10 years ago
Naglis Jonaitis
ea5db8469e
[canalplus] Add support for itele.fr URLs ( Closes #4931 )
10 years ago
Naglis Jonaitis
3811c567e7
[teamcoco] Fix video id extraction
10 years ago
Yen Chi Hsuan
8708d76425
[camdemy] Add new extractor
Single file download done, while folder extaction in plan
10 years ago
Sergey M․
054fe3cc40
[ntvru] Adapt to new direct delivery and modernize ( Closes #4918 )
10 years ago
Philipp Hagemeister
9650885be9
[escapist] Filter video differently ( Fixes #4919 )
10 years ago
Philipp Hagemeister
596ac6e31f
[escapist] Modernize
10 years ago
Philipp Hagemeister
8f84f57183
[ccc] Add new extractor ( Fixes #4890 )
10 years ago
Philipp Hagemeister
c0e1a415fd
[firstpost] Modernize
10 years ago
Philipp Hagemeister
bf8f082a90
[vimeo:album] Add support for album passwords ( Fixes #4917 )
10 years ago
Philipp Hagemeister
7e5db8c930
[options] Add --no-color
10 years ago
Philipp Hagemeister
f7a211dcc8
[pornhd] Fix extraction ( fixes #4915 )
10 years ago
Philipp Hagemeister
c73fae1e2e
[commonmistakes] Detect BOMs at the beginning of URLs
Reported at https://bugzilla.redhat.com/show_bug.cgi?id=1093517 .
10 years ago
Philipp Hagemeister
834bf069d2
[bandcamp] Correct variable name
10 years ago
Philipp Hagemeister
753fad4adc
[commonmistakes] Correct logic error
10 years ago
Philipp Hagemeister
3a5bcd0326
[extractor/common] Wrap extractor errors ( Fixes #1194 )
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.
10 years ago
Philipp Hagemeister
99c2398bc6
[bandcamp] Use our API to get more stable error messages ( #1194 )
10 years ago