Jaime Marquínez Ferrándiz
c90f13d106
YoutubeIE: update the docstrings and the error message of _decrypt_signature
...
Now it doesn't check the size of the two parts of the key.
2013-06-27 14:37:45 +02:00
Jaime Marquínez Ferrándiz
6e5d5f2fc1
Merge branch 'master' of github.com:rg3/youtube-dl
2013-06-27 00:16:02 +02:00
Jaime Marquínez Ferrándiz
75c9481224
ArteTvIE: rewrite the extract process to support the new site ( fixes #875 )
...
The video can be downloaded with rtmp or http, but the best quality format seems to always use rtmp.
Deleted the old methods.
2013-06-27 00:09:51 +02:00
Jaime Marquínez Ferrándiz
bcd606c0fe
ComedycentralIE: Force conversion of the description to unicode ( close #941 )
...
When writing to a file it would fail.
2013-06-26 21:38:01 +02:00
Jaime Marquínez Ferrándiz
aa0c87391c
Add CSpanIE ( closes #312 )
2013-06-26 17:55:54 +02:00
Jaime Marquínez Ferrándiz
2e32528012
FileDownloader: fixed call to "report_error" of YoutubeDL
...
It was being called as "error"
2013-06-26 16:32:47 +02:00
Jaime Marquínez Ferrándiz
52e8e1dc88
Merge pull request #936 from iemejia/master
...
Added option for vtt WebVTT subtitle format for Youtube
2013-06-26 03:06:06 -07:00
Jaime Marquínez Ferrándiz
b004821fa9
Add the option "--write-auto-sub" to download automatic subtitles from Youtube
...
Now automatic subtitles are only downloaded if the option is given.
(closes #903 )
2013-06-25 23:46:24 +02:00
Jaime Marquínez Ferrándiz
c6c1974672
Add "--video-password" option (related #889 )
...
Used only for accessing a private video
Restore the error when the account is missing
2013-06-25 22:22:32 +02:00
Jaime Marquínez Ferrándiz
a545d1d262
Merge pull request #922 from JohnyMoSwag/master
...
Added embedded youtube detection to WorldstarIE
2013-06-25 22:08:58 +02:00
Jaime Marquínez Ferrándiz
037fcd0047
JukeboxIE: support more countries
2013-06-25 22:04:44 +02:00
Jaime Marquínez Ferrándiz
7ce7e39476
YoutubeIE: Extend decryption of signatures to all videos that have the 's' field in the url_encoded_fmt_stream_map (related #920 )
2013-06-24 21:25:12 +02:00
Jaime Marquínez Ferrándiz
1c251cd948
MTVIE: add support for Vevo videos (related #913 )
2013-06-24 13:54:19 +02:00
Jaime Marquínez Ferrándiz
70d1924f8b
Add VevoIE
2013-06-24 12:31:41 +02:00
Jaime Marquínez Ferrándiz
8bf8b5a577
Use the new class in the tests
2013-06-24 10:21:44 +02:00
Jaime Marquínez Ferrándiz
8222d8de88
Split FileDownloader in two classes: FileDownloader and YoutubeDL
...
YoutubeDL is the class that coordinates everything
FileDownloader gets a filename and an info dict and downloads the video.
2013-06-24 10:21:43 +02:00
Jaime Marquínez Ferrándiz
c7253e2e8c
[youtube] fix condition always being evaluated to true
2013-06-24 09:42:46 +02:00
Jaime Marquínez Ferrándiz
b0dcc3c47f
setup.py: include the new extractor module
2013-06-23 23:54:08 +02:00
Jaime Marquínez Ferrándiz
1037d53988
GenericIE: look for Open Graph info
...
Only if there is a direct link to the file, don't try if it points to a Flash player
2013-06-23 13:26:49 +02:00
Jaime Marquínez Ferrándiz
c3ab8f866c
Change metavar of "--sub-format" from LANG to FORMAT
2013-06-23 12:59:20 +02:00
Jaime Marquínez Ferrándiz
346b5ce8fd
YoutubeIE: report warnings instead of errors if the subtitles are not found (related #901 )
...
For example when downloading a playlist some videos may not have subtitles but the download shouldn't stop.
2013-06-22 14:15:33 +02:00
Jaime Marquínez Ferrándiz
b37fbb990b
Move the decrypting function to a static method
2013-06-22 13:20:06 +02:00
Jaime Marquínez Ferrándiz
ef75f76f5c
Detect more vevo videos
2013-06-22 13:13:40 +02:00
Jaime Marquínez Ferrándiz
e296100005
Merge pull request #888 from rg3/youtube_playlists_fix_886
...
YoutubePlaylistIE: try to extract the url of the entries from the media$group dictionary (closes #886 )
2013-06-22 03:35:32 -07:00
Jaime Marquínez Ferrándiz
953dd93a48
YoutubePlaylistIE: don't look into entry['content']['src'], accruing to the docs this can return live stream urls
2013-06-22 12:32:27 +02:00
Jaime Marquínez Ferrándiz
e704f4d378
YoutubeIE: If not subtitles language is given default to English for automatic captions (related #901 )
2013-06-22 12:14:24 +02:00
Jaime Marquínez Ferrándiz
77d0f05f71
YoutubeIE: Detect new Vevo style videos
...
The url_encoded_fmt_stream_map can be found in the video page, but the signature must be decrypted, we get it from the webpage instead of the `get_video_info` pages because we have only discover the algorithm for keys with both sub keys of size 43.
2013-06-21 21:51:10 +02:00
Jaime Marquínez Ferrándiz
f4c8bbcfc2
TEDIE: download the best quality video and use the new _search_regex functions
...
Also extracts the description.
2013-06-20 20:51:20 +02:00
Jaime Marquínez Ferrándiz
31eead52e7
YoutubePlaylistIE: try to extract the url of the entries from the media$group dictionary
...
Extracting it from content can return rtsp urls.
2013-06-20 17:23:27 +02:00
Jaime Marquínez Ferrándiz
038a3a1a61
RBMARadioIE: fix the extraction of the JSON data
2013-06-20 14:37:43 +02:00
Jaime Marquínez Ferrándiz
587c68b2cd
DailymotionIE: fix the extraction of the video uploader and use _search_regex for getting it
2013-06-20 14:15:29 +02:00
Jaime Marquínez Ferrándiz
377fdf5dde
Update the TumblrIE: the video is no longer available
2013-06-20 14:02:21 +02:00
Jaime Marquínez Ferrándiz
5c67601931
Revert "Fix GooglePlusIE: the video_page url has changed of place"
...
The old method is working again.
This reverts commit 449d5c910c .
2013-06-20 13:53:04 +02:00
Jaime Marquínez Ferrándiz
68f54207a3
SteamIE: only verify the age if needed
...
Also use the _html_search_regex function
2013-06-20 13:43:44 +02:00
Jaime Marquínez Ferrándiz
213b715893
Merge pull request #887 from anisse/master
...
Fetch all entries that are in a youtube playlist
Also add a test.
2013-06-19 12:52:44 +02:00
Jaime Marquínez Ferrándiz
449d5c910c
Fix GooglePlusIE: the video_page url has changed of place
2013-06-18 14:22:16 +02:00
Jaime Marquínez Ferrándiz
36ed7177f0
Fix HypemIE test: the song name has been changed
2013-06-16 20:42:28 +02:00
Jaime Marquínez Ferrándiz
32aa88bcae
Add GametrailersIE
2013-06-16 20:34:45 +02:00
Jaime Marquínez Ferrándiz
51090d636b
VimeoIE: allow to download password protected videos
2013-06-15 11:35:14 +02:00
Jaime Marquínez Ferrándiz
31513ea6b9
Update test_issue_673 in Youtube Lists
...
Some videos have been removed.
Delete the title check, it's not the purpose of that test.
2013-06-15 11:20:22 +02:00
Jaime Marquínez Ferrándiz
fb8f7280bc
GenericIE: try to find videos from twitter cards info
2013-06-13 08:26:39 +02:00
Jaime Marquínez Ferrándiz
f380401bbd
YoutubeSearchIE: the query is a str, in python 3 it fails if decode is called
2013-06-11 19:15:07 +02:00
Jaime Marquínez Ferrándiz
9abc6c8b31
Update YahooIE test
...
The old test video is no longer available.
2013-06-10 19:42:02 +02:00
Jaime Marquínez Ferrándiz
8027175600
Set the extractor key in playlists entries
...
If they were videos the extractor key wasn't being set anywhere else
Closes 877
2013-06-08 12:08:44 +02:00
Jaime Marquínez Ferrándiz
3054ff0cbe
Merge pull request #853 from mc2avr/master
...
add ZDFIE
2013-06-08 11:44:01 +02:00
Jaime Marquínez Ferrándiz
cd453d38bb
Merge pull request #878 from yasoob/master
...
Added Vbox7.com InfoExtractor and tests.
2013-06-08 10:54:47 +02:00
Jaime Marquínez Ferrándiz
9131bde941
SpiegelE: the page layout has changed a bit
2013-06-04 19:31:06 +02:00
Jaime Marquínez Ferrándiz
1132c10dc2
Merge pull request #864 from jacobian/vimeopro
...
Fixed an error downloading vimeo pro videos.
2013-06-04 10:15:12 -07:00
Jaime Marquínez Ferrándiz
eda60e8251
VimeoIE: support videos from vimeopro.com
2013-06-04 12:04:54 +02:00
Jaime Marquínez Ferrándiz
418f734a58
Merge pull request #854 from rg3/youtube_automatic_captions
...
YoutubeIE: fallback to automatic captions when subtitles aren't found
2013-06-01 14:18:27 -07:00
Jaime Marquínez Ferrándiz
dc1c355b72
YoutubeIE: fallback to automatic captions when subtitles aren't found ( closes #843 )
...
Also modify test_youtube_subtitles to support running the tests in any order.
2013-05-31 17:03:40 +02:00
Jaime Marquínez Ferrándiz
1b2b22ed9f
BlipTV: accept urls in the format http://a.blip.tv/api.swf#{id} ( closes #857 )
...
Tweak the regex so that BlipTV can be before BlipTVUser.
2013-05-28 15:12:39 +02:00
Jaime Marquínez Ferrándiz
45014296be
Add TeamcocoIE ( closes #212 )
2013-05-21 14:37:32 +02:00
Jaime Marquínez Ferrándiz
b1d568f0bc
HowcastIE: extract thumbnail
2013-05-20 08:39:41 +02:00
Jaime Marquínez Ferrándiz
17bd1b2f41
VineIE: extract more information and minor style changes
2013-05-20 08:31:03 +02:00
Jaime Marquínez Ferrándiz
340fa21198
UstreamIE: get thumbnail and uploader name
2013-05-18 11:54:18 +02:00
Jaime Marquínez Ferrándiz
7bdb17d4d5
Add extra_info argument to extract_info and process_ie_result
...
It allows to update the info_dicts with other values
(closes #840 )
2013-05-14 14:40:40 +02:00
Jaime Marquínez Ferrándiz
e30e9318da
Add base class SearchInfoExtractor for search queries IEs
2013-05-13 14:58:44 +02:00
Jaime Marquínez Ferrándiz
929f85d851
Remove a print call used for debugging
2013-05-12 20:56:54 +02:00
Jaime Marquínez Ferrándiz
98d4a4e6bc
YoutubeSearchIE: return a playlist (related #838 )
2013-05-12 20:53:37 +02:00
Jaime Marquínez Ferrándiz
fb2f83360c
FFmpegPostProcessor: decode stderr first and then get the last line ( closes #837 )
2013-05-12 19:08:32 +02:00
Jaime Marquínez Ferrándiz
3c5e7729e1
GoogleSearchIE: change query urls to http://www.google.com/search
...
The old one was given HTTP 404 errors
2013-05-12 18:44:56 +02:00
Jaime Marquínez Ferrándiz
5a853e1423
Fix YahooSearchIE: ( closes #300 )
2013-05-12 17:49:35 +02:00
Jaime Marquínez Ferrándiz
2f58b12dad
YahooIE: support more videos
2013-05-12 17:05:43 +02:00
Jaime Marquínez Ferrándiz
59f4fd4dc6
YahooIE: remove old code and accept screen.yahoo.com videos ( #300 )
...
Videos require rtmpdump
2013-05-12 14:05:14 +02:00
Jaime Marquínez Ferrándiz
057c9938a1
Import FileDownloader in test_youtube_subtitles
...
Fix last commit
2013-05-10 08:37:49 +02:00
Jaime Marquínez Ferrándiz
9259966132
test_youtube_subtitles: FakeDownloader inherits form FileDownloader
2013-05-10 08:31:30 +02:00
Jaime Marquínez Ferrándiz
43b62accbb
GoogleSearchIE: rename _download_n_results to _get_n_results
2013-05-05 22:12:41 +02:00
Jaime Marquínez Ferrándiz
be74864ace
Credit @JohnyMoSwag for WorldstarhiphopIE ( #730 )
2013-05-05 21:56:38 +02:00
Jaime Marquínez Ferrándiz
486f0c9476
More callbacks changed to raise ExtractorError
2013-05-05 13:59:25 +02:00
Jaime Marquínez Ferrándiz
d96680f58d
PhotobucketIE: accept new format of urls and add a test
2013-05-05 13:07:00 +02:00
Jaime Marquínez Ferrándiz
f8602d3242
ArteTvIE: Fix format of upload date
2013-05-05 11:48:47 +02:00
Jaime Marquínez Ferrándiz
0c021ad171
More callbacks changed to raise ExtractorError
2013-05-04 14:23:16 +02:00
Jaime Marquínez Ferrándiz
2e2038dc35
TEDIE: report the correct talk title when a link with the language code is given
2013-05-02 18:28:07 +02:00
Jaime Marquínez Ferrándiz
46bfb42258
InfoExtractors: use _download_webpage in more IEs
...
IEs without tests are intact.
2013-05-02 18:18:27 +02:00
Jaime Marquínez Ferrándiz
feecf22511
InfoExtractors: fix some regular expressions where dots weren't escaped
2013-05-02 13:39:56 +02:00
Jaime Marquínez Ferrándiz
4c4f15eb78
Merge pull request #815 from JohnyMoSwag/master
...
Update for new source links on worldstarhiphop.com
2013-05-02 13:23:32 +02:00
Jaime Marquínez Ferrándiz
104ccdb8b4
TumblrIE: fix title matching
2013-05-02 13:12:41 +02:00
Jaime Marquínez Ferrándiz
aed523ecc1
Add BandcampIE ( closes #568 )
2013-05-01 15:55:46 +02:00
Jaime Marquínez Ferrándiz
34c29ba1d7
Add test for SoundcloudSet
2013-04-30 21:23:38 +02:00
Jaime Marquínez Ferrándiz
ba7c775a04
Remove a commented line I forgot.
...
[ci skip]
2013-04-30 14:21:46 +02:00
Jaime Marquínez Ferrándiz
fe348844d9
SoundcloudSetIE: Use upload_date in the unified format ( fixes #812 )
2013-04-29 23:57:36 +02:00
Jaime Marquínez Ferrándiz
767e00277f
Use report_warning when a not working IE will be uses
2013-04-28 17:12:07 +02:00
Jaime Marquínez Ferrándiz
e31852aba9
Document the video selection using the upload date
2013-04-28 12:02:30 +02:00
Jaime Marquínez Ferrándiz
37254abc36
Allow to use relative dates in the format (now|today)[+-][0-9](day|week|month|year)(s)? ( Closes #137 )
...
Also fix DateRange not accepting ranges of one day.
2013-04-28 11:39:37 +02:00
Jaime Marquínez Ferrándiz
bf50b0383e
Fix some IEs that didn't return the uploade_date in the YYYYMMDD format
...
Create a function unified_strdate in utils.py to fix these problems
2013-04-27 15:14:20 +02:00
Jaime Marquínez Ferrándiz
bd55852517
Allow to select videos to download by their upload dates (related #137 )
...
Only absolute dates.
2013-04-27 14:01:55 +02:00
Jaime Marquínez Ferrándiz
4c9f7a9988
SteamIE: accept urls with agecheck
2013-04-27 11:03:34 +02:00
Jaime Marquínez Ferrándiz
aba8df23ed
YoutubePlaylistIE: don't crash with empty lists (related #808 )
...
The playlist_title wasn't initialized.
2013-04-27 10:41:52 +02:00
Jaime Marquínez Ferrándiz
3820df0106
Merge pull request #801 from expleo/add_referer_support
2013-04-26 19:34:32 +02:00
Jaime Marquínez Ferrándiz
fa70605db2
IEs: clean __init__ methods
...
They are not needed
2013-04-24 23:05:43 +02:00
Jaime Marquínez Ferrándiz
0d173446ff
InfoExtractors: use report_download_webpage in _request_webpage
...
Allows to show the warning when falling back on GenericIE
2013-04-24 22:11:57 +02:00
Jaime Marquínez Ferrándiz
320e26a0af
Clean duplicate method report_download_webpage in InfoExtractors
2013-04-24 22:02:20 +02:00
Jaime Marquínez Ferrándiz
a3d689cfb3
Fix InfoQ
2013-04-24 21:16:10 +02:00
Jaime Marquínez Ferrándiz
69fc019f26
YoutubeIE when no description is found use an empty unicode string ( closes #800 )
2013-04-23 12:24:08 +02:00
Jaime Marquínez Ferrándiz
613bf66939
More calls to trouble changed to report_error
2013-04-23 11:31:37 +02:00
Jaime Marquínez Ferrándiz
9edb0916f4
Disable colored messages in Windows (related #794 )
2013-04-23 11:09:22 +02:00
Jaime Marquínez Ferrándiz
f4b659f782
Document order of preference for format selection ( closes #798 )
2013-04-23 10:33:54 +02:00
Jaime Marquínez Ferrándiz
4469666780
Merge pull request #792 from fp7/master
...
Parameters as arguments to main
2013-04-22 13:44:05 -07:00
Jaime Marquínez Ferrándiz
c15e024141
TumblrIE
...
I haven't found many videos to test, so it may not work for all.
2013-04-22 21:27:27 +02:00