youtube-dl
10 years agoMove FileDownloader to its own module and create a new class for each download process
Jaime Marquínez Ferrándiz [Mon, 23 Sep 2013 15:59:27 +0000 (17:59 +0200)]
Move FileDownloader to its own module and create a new class for each download process

A suitable downloader can be found using the 'get_suitable_downloader' function.

Each subclass implements 'real_download', for downloading an info dict you call the 'download' method, which first checks if the video has already been downloaded

10 years agoNow a new FileDownloader is created when downloading a video
Jaime Marquínez Ferrándiz [Mon, 23 Sep 2013 16:09:28 +0000 (18:09 +0200)]
Now a new FileDownloader is created when downloading a video

The progress hooks can be added using the method "add_downloader_progress_hook"

10 years agorelease 2013.12.11.2
Philipp Hagemeister [Wed, 11 Dec 2013 08:22:25 +0000 (09:22 +0100)]
release 2013.12.11.2

10 years ago[pornhub] Fix URL regexp
Philipp Hagemeister [Wed, 11 Dec 2013 08:22:08 +0000 (09:22 +0100)]
[pornhub] Fix URL regexp

10 years agorelease 2013.12.11.1
Philipp Hagemeister [Wed, 11 Dec 2013 07:54:54 +0000 (08:54 +0100)]
release 2013.12.11.1

10 years agoFix thumbnail filename determination (Fixes #1945)
Philipp Hagemeister [Wed, 11 Dec 2013 07:54:48 +0000 (08:54 +0100)]
Fix thumbnail filename determination (Fixes #1945)

10 years agorelease 2013.12.11
Philipp Hagemeister [Wed, 11 Dec 2013 07:45:51 +0000 (08:45 +0100)]
release 2013.12.11

10 years agoUse `_download_xml` in more extractors
Jaime Marquínez Ferrándiz [Tue, 10 Dec 2013 20:03:53 +0000 (21:03 +0100)]
Use `_download_xml` in more extractors

10 years ago[vimeo] Fix unused argument of the `_real_extract` method
Jaime Marquínez Ferrándiz [Tue, 10 Dec 2013 19:43:16 +0000 (20:43 +0100)]
[vimeo] Fix unused argument of the `_real_extract` method

10 years ago[vimeo] Fix the extraction for some 'player' or 'pro' videos
Jaime Marquínez Ferrándiz [Tue, 10 Dec 2013 19:28:12 +0000 (20:28 +0100)]
[vimeo] Fix the extraction for some 'player' or 'pro' videos

The variable the config dict is assigned to can change, now we try to detect it or fallback to a, b or c

10 years ago[dailymotion] Fix view count extraction and make it non fatal (fixes #1940)
Jaime Marquínez Ferrándiz [Tue, 10 Dec 2013 18:47:00 +0000 (19:47 +0100)]
[dailymotion] Fix view count extraction and make it non fatal (fixes #1940)

10 years ago[dailymotion] Fix uploader extraction
Jaime Marquínez Ferrándiz [Tue, 10 Dec 2013 18:44:16 +0000 (19:44 +0100)]
[dailymotion] Fix uploader extraction

Now it looks directly in the info dictionary

10 years ago[mixcloud] Try to get the m4a url if the mp3 url fails to download (fixes #1939)
Jaime Marquínez Ferrándiz [Tue, 10 Dec 2013 12:42:41 +0000 (13:42 +0100)]
[mixcloud] Try to get the m4a url if the mp3 url fails to download (fixes #1939)

10 years ago[soundcloud] Fix the extension for 'downloadable' songs
Jaime Marquínez Ferrándiz [Tue, 10 Dec 2013 12:04:21 +0000 (13:04 +0100)]
[soundcloud] Fix the extension for 'downloadable' songs

In this case the 'original_format' field must be used.

10 years ago[mtv] Fixup incorrectly encoded XML documents
Philipp Hagemeister [Tue, 10 Dec 2013 11:45:22 +0000 (12:45 +0100)]
[mtv] Fixup incorrectly encoded XML documents

10 years agorelease 2013.12.10
Philipp Hagemeister [Tue, 10 Dec 2013 10:54:59 +0000 (11:54 +0100)]
release 2013.12.10

10 years ago[zdf] Correct order of unknown formats (#1936)
Philipp Hagemeister [Tue, 10 Dec 2013 10:52:10 +0000 (11:52 +0100)]
[zdf] Correct order of unknown formats (#1936)

10 years ago[soundcloud] Do not mistake original_format for ext (Fixes #1934)
Philipp Hagemeister [Tue, 10 Dec 2013 10:45:13 +0000 (11:45 +0100)]
[soundcloud] Do not mistake original_format for ext (Fixes #1934)

10 years ago[YoutubeDL] Simplify filename preparation
Philipp Hagemeister [Tue, 10 Dec 2013 10:23:35 +0000 (11:23 +0100)]
[YoutubeDL] Simplify filename preparation

10 years agoSet 'NA' as the default value for missing fields in the output template (fixes #1931)
Jaime Marquínez Ferrándiz [Mon, 9 Dec 2013 21:00:42 +0000 (22:00 +0100)]
Set 'NA' as the default value for missing fields in the output template (fixes #1931)

Remove the `except KeyError` clause, it won't get raised anymore

10 years agorelease 2013.12.09.4
Philipp Hagemeister [Mon, 9 Dec 2013 19:05:27 +0000 (20:05 +0100)]
release 2013.12.09.4

10 years agoRemove superfluous spaces
Philipp Hagemeister [Mon, 9 Dec 2013 19:05:10 +0000 (20:05 +0100)]
Remove superfluous spaces

10 years ago[brightcove] Use the original url (usually the player) as the default referer (fixes...
Jaime Marquínez Ferrándiz [Mon, 9 Dec 2013 19:01:43 +0000 (20:01 +0100)]
[brightcove] Use the original url (usually the player) as the default referer (fixes #1929)

10 years ago[soundcloud] Do not match sets (Fixes #1930)
Philipp Hagemeister [Mon, 9 Dec 2013 18:57:00 +0000 (19:57 +0100)]
[soundcloud] Do not match sets (Fixes #1930)

10 years ago[ndtv] Add extractor (Fixes #1924)
Philipp Hagemeister [Mon, 9 Dec 2013 18:39:41 +0000 (19:39 +0100)]
[ndtv] Add extractor (Fixes #1924)

10 years agorelease 2013.12.09.3
Philipp Hagemeister [Mon, 9 Dec 2013 17:56:17 +0000 (18:56 +0100)]
release 2013.12.09.3

10 years ago[rtlnow] Allow double slashes after domain name (Fixes #1928)
Philipp Hagemeister [Mon, 9 Dec 2013 17:55:54 +0000 (18:55 +0100)]
[rtlnow] Allow double slashes after domain name (Fixes #1928)

10 years agorelease 2013.12.09.2
Philipp Hagemeister [Mon, 9 Dec 2013 17:31:31 +0000 (18:31 +0100)]
release 2013.12.09.2

10 years agoMerge branch 'master' of github.com:rg3/youtube-dl
Philipp Hagemeister [Mon, 9 Dec 2013 17:29:12 +0000 (18:29 +0100)]
Merge branch 'master' of github.com:rg3/youtube-dl

10 years agoImprove --bidi-workaround support
Philipp Hagemeister [Mon, 9 Dec 2013 17:29:07 +0000 (18:29 +0100)]
Improve --bidi-workaround support

10 years ago[soundcloud] add support for private links (fixes #1927)
Jaime Marquínez Ferrándiz [Mon, 9 Dec 2013 16:08:58 +0000 (17:08 +0100)]
[soundcloud] add support for private links (fixes #1927)

10 years ago[--load-info] Always read file as UTF-8
Philipp Hagemeister [Mon, 9 Dec 2013 03:59:50 +0000 (04:59 +0100)]
[--load-info] Always read file as UTF-8

This allows editing the file (and not escaping non-ASCII characters) and reloading it in.

10 years agoMerge remote-tracking branch 'jaimeMF/load-info'
Philipp Hagemeister [Mon, 9 Dec 2013 03:55:02 +0000 (04:55 +0100)]
Merge remote-tracking branch 'jaimeMF/load-info'

10 years agoRemove unused imports
Philipp Hagemeister [Mon, 9 Dec 2013 03:53:23 +0000 (04:53 +0100)]
Remove unused imports

10 years agoLower number of expected entries in top list
Philipp Hagemeister [Mon, 9 Dec 2013 03:50:48 +0000 (04:50 +0100)]
Lower number of expected entries in top list

10 years agoMerge remote-tracking branch 'jaimeMF/yt-toplists'
Philipp Hagemeister [Mon, 9 Dec 2013 03:49:32 +0000 (04:49 +0100)]
Merge remote-tracking branch 'jaimeMF/yt-toplists'

10 years agoMerge remote-tracking branch 'dstftw/smotri.com-broadcast'
Philipp Hagemeister [Mon, 9 Dec 2013 03:42:35 +0000 (04:42 +0100)]
Merge remote-tracking branch 'dstftw/smotri.com-broadcast'

Conflicts:
youtube_dl/FileDownloader.py
youtube_dl/extractor/smotri.py

10 years agoAdd filename to --dump-json output (Fixes #1908)
Philipp Hagemeister [Mon, 9 Dec 2013 03:31:18 +0000 (04:31 +0100)]
Add filename to --dump-json output (Fixes #1908)

10 years agoAdd some bug reporting hints
Philipp Hagemeister [Mon, 9 Dec 2013 03:20:14 +0000 (04:20 +0100)]
Add some bug reporting hints

10 years agorelease 2013.12.09.1
Philipp Hagemeister [Mon, 9 Dec 2013 03:09:06 +0000 (04:09 +0100)]
release 2013.12.09.1

10 years agoAdd a workaround for terminals without bidi support (Fixes #1912)
Philipp Hagemeister [Mon, 9 Dec 2013 03:08:51 +0000 (04:08 +0100)]
Add a workaround for terminals without bidi support (Fixes #1912)

10 years agorelease 2013.12.09
Philipp Hagemeister [Mon, 9 Dec 2013 02:03:01 +0000 (03:03 +0100)]
release 2013.12.09

10 years agoRestore Python 2.6.<6 compatibility (Fixes #1860)
Philipp Hagemeister [Mon, 9 Dec 2013 02:02:54 +0000 (03:02 +0100)]
Restore Python 2.6.<6 compatibility (Fixes #1860)

10 years agoAdd fatal=False parameter to _download_* functions.
Philipp Hagemeister [Mon, 9 Dec 2013 00:49:01 +0000 (01:49 +0100)]
Add fatal=False parameter to _download_* functions.

This allows us to simplify the calls in the youtube extractor even further.

10 years agoRemove the calls to 'compat_urllib_request.urlopen' in a few extractors
Jaime Marquínez Ferrándiz [Sun, 8 Dec 2013 21:24:55 +0000 (22:24 +0100)]
Remove the calls to 'compat_urllib_request.urlopen' in a few extractors

10 years ago[arte.tv:ddc] Add fields to the test and skip download (rtmp)
Jaime Marquínez Ferrándiz [Sun, 8 Dec 2013 15:34:57 +0000 (16:34 +0100)]
[arte.tv:ddc] Add fields to the test and skip download (rtmp)

10 years agoMerge remote-tracking branch 'spjoe/master' (closes PR #1921)
Jaime Marquínez Ferrándiz [Sun, 8 Dec 2013 15:33:34 +0000 (16:33 +0100)]
Merge remote-tracking branch 'spjoe/master' (closes PR #1921)

10 years agomade ddc.arte.tv test working
Camillo Dell'mour [Sun, 8 Dec 2013 15:22:31 +0000 (16:22 +0100)]
made ddc.arte.tv test working

10 years agoadded arte.tv extractor support for subdomain ddc - Mit offenen Karten(german) Le...
Camillo Dell'mour [Sun, 8 Dec 2013 13:02:14 +0000 (14:02 +0100)]
added arte.tv extractor support for subdomain ddc - Mit offenen Karten(german) Le Dessous des Cartes(france)

10 years agorelease 2013.12.08.1
Philipp Hagemeister [Sun, 8 Dec 2013 06:32:25 +0000 (07:32 +0100)]
release 2013.12.08.1

10 years ago[youtube:channel] Fix automated channel detection
Philipp Hagemeister [Sun, 8 Dec 2013 06:30:42 +0000 (07:30 +0100)]
[youtube:channel] Fix automated channel detection

10 years ago[wimp] simplify
Philipp Hagemeister [Sun, 8 Dec 2013 06:22:19 +0000 (07:22 +0100)]
[wimp] simplify

10 years agorelease 2013.12.08
Philipp Hagemeister [Sun, 8 Dec 2013 05:54:52 +0000 (06:54 +0100)]
release 2013.12.08

10 years agoAutomatically load SSL certs on Windows
Philipp Hagemeister [Sun, 8 Dec 2013 05:54:39 +0000 (06:54 +0100)]
Automatically load SSL certs on Windows

10 years ago[FileDownloader] Fix progress report on Windows (Fixes #1918)
Philipp Hagemeister [Sun, 8 Dec 2013 05:53:46 +0000 (06:53 +0100)]
[FileDownloader] Fix progress report on Windows (Fixes #1918)

10 years agoSimplify status reporting (#1918)
Philipp Hagemeister [Sun, 8 Dec 2013 04:49:35 +0000 (05:49 +0100)]
Simplify status reporting (#1918)

10 years agoMerge pull request #1919 from rzhxeo/xhamster
Jaime Marquínez Ferrándiz [Sat, 7 Dec 2013 22:35:17 +0000 (14:35 -0800)]
Merge pull request #1919 from rzhxeo/xhamster

[XHamsterIE] Fix HD video detection

10 years ago[XHamsterIE] Fix md5 in second test
rzhxeo [Sat, 7 Dec 2013 21:17:13 +0000 (22:17 +0100)]
[XHamsterIE] Fix md5 in second test

10 years ago[XHamsterIE] Fix HD video detection
rzhxeo [Sat, 7 Dec 2013 20:39:32 +0000 (21:39 +0100)]
[XHamsterIE] Fix HD video detection

10 years ago[pyvideo] add support for videos that don't come from Youtube
Jaime Marquínez Ferrándiz [Sat, 7 Dec 2013 10:19:59 +0000 (11:19 +0100)]
[pyvideo] add support for videos that don't come from Youtube

10 years ago[pyvideo] Cleanup and fix test
Jaime Marquínez Ferrándiz [Sat, 7 Dec 2013 09:59:18 +0000 (10:59 +0100)]
[pyvideo] Cleanup and fix test

10 years agoMerge remote-tracking branch 'gekitsuu/master' (closes PR #1913)
Jaime Marquínez Ferrándiz [Sat, 7 Dec 2013 09:48:15 +0000 (10:48 +0100)]
Merge remote-tracking branch 'gekitsuu/master' (closes PR #1913)

10 years agoremoving bad VALID_URL
Adam Glenn [Sat, 7 Dec 2013 05:12:10 +0000 (21:12 -0800)]
removing bad VALID_URL

10 years agoAdding pyvideo support
Adam Glenn [Sat, 7 Dec 2013 05:11:01 +0000 (21:11 -0800)]
Adding pyvideo support

10 years ago[vimeo] Add an extractor for groups
Jaime Marquínez Ferrándiz [Fri, 6 Dec 2013 21:01:41 +0000 (22:01 +0100)]
[vimeo] Add an extractor for groups

10 years ago[vimeo] Add an extractor for albums (closes #1911)
Jaime Marquínez Ferrándiz [Fri, 6 Dec 2013 20:47:32 +0000 (21:47 +0100)]
[vimeo] Add an extractor for albums (closes #1911)

10 years ago[imdb] Fix extraction
Jaime Marquínez Ferrándiz [Fri, 6 Dec 2013 19:26:55 +0000 (20:26 +0100)]
[imdb] Fix extraction

The paths to each format's page may have leading whitespace.
The height and the duration can't be extracted.

10 years ago[vevo] Update test video's duration
Jaime Marquínez Ferrándiz [Fri, 6 Dec 2013 19:14:29 +0000 (20:14 +0100)]
[vevo] Update test video's duration

10 years ago[youtube:playlist] Recognize mix ids for direct use (fixes #1295)
Jaime Marquínez Ferrándiz [Fri, 6 Dec 2013 18:52:41 +0000 (19:52 +0100)]
[youtube:playlist] Recognize mix ids for direct use (fixes #1295)

10 years ago[youtube:playlist] Support mix ids longer than 13 (#1295)
Jaime Marquínez Ferrándiz [Fri, 6 Dec 2013 18:48:54 +0000 (19:48 +0100)]
[youtube:playlist] Support mix ids longer than 13 (#1295)

10 years ago[dailymotion] Fix view count regex
Jaime Marquínez Ferrándiz [Fri, 6 Dec 2013 12:41:07 +0000 (13:41 +0100)]
[dailymotion] Fix view count regex

In some languages they can be in the format '123,456' instead of '123.456'

10 years ago[dailymotion] Extract view count (#1895)
Jaime Marquínez Ferrándiz [Fri, 6 Dec 2013 12:36:36 +0000 (13:36 +0100)]
[dailymotion] Extract view count (#1895)

10 years ago[youtube] Extract like and dislike count (#1895)
Jaime Marquínez Ferrándiz [Fri, 6 Dec 2013 12:22:04 +0000 (13:22 +0100)]
[youtube] Extract like and dislike count (#1895)

10 years ago[vimeo] Extract views count, likes count and comments count (#1895)
Jaime Marquínez Ferrándiz [Fri, 6 Dec 2013 12:03:08 +0000 (13:03 +0100)]
[vimeo] Extract views count, likes count and comments count (#1895)

10 years ago[wistia] Add extractor
Philipp Hagemeister [Fri, 6 Dec 2013 08:15:04 +0000 (09:15 +0100)]
[wistia] Add extractor

10 years agoMerge remote-tracking branch 'origin/master'
Philipp Hagemeister [Thu, 5 Dec 2013 21:30:04 +0000 (22:30 +0100)]
Merge remote-tracking branch 'origin/master'

10 years ago[francetv] Add support for urls in the format http://www.france3.fr/emissions/{progra...
Jaime Marquínez Ferrándiz [Thu, 5 Dec 2013 20:26:35 +0000 (21:26 +0100)]
[francetv] Add support for urls in the format france3.fr/emissions/{program}/diffusions/{date} (fixes #1898)

10 years ago[francetv] Add support for more channels: 3, 4, 5 and Ô (#1898)
Jaime Marquínez Ferrándiz [Thu, 5 Dec 2013 19:45:53 +0000 (20:45 +0100)]
[francetv] Add support for more channels: 3, 4, 5 and Ô (#1898)

Rename the France2IE extractor to FranceTVIE

10 years ago[9gag] Like/dislike count (#1895)
Philipp Hagemeister [Thu, 5 Dec 2013 17:29:07 +0000 (18:29 +0100)]
[9gag] Like/dislike count (#1895)

10 years agoRemove unused imports
Philipp Hagemeister [Thu, 5 Dec 2013 13:31:54 +0000 (14:31 +0100)]
Remove unused imports

10 years agoMerge branch 'master' of github.com:rg3/youtube-dl
Philipp Hagemeister [Thu, 5 Dec 2013 13:29:14 +0000 (14:29 +0100)]
Merge branch 'master' of github.com:rg3/youtube-dl

10 years ago[9gag] Add extractor
Philipp Hagemeister [Thu, 5 Dec 2013 13:29:08 +0000 (14:29 +0100)]
[9gag] Add extractor

10 years ago[vevo] Support '/watch/{id}' urls
Jaime Marquínez Ferrándiz [Thu, 5 Dec 2013 11:41:58 +0000 (12:41 +0100)]
[vevo] Support '/watch/{id}' urls

10 years ago[metacafe] Add support for cbs videos (fixes #1838)
Jaime Marquínez Ferrándiz [Wed, 4 Dec 2013 22:43:50 +0000 (23:43 +0100)]
[metacafe] Add support for cbs videos (fixes #1838)

They use theplatform.com

10 years agoAdd an extractor for theplatform.com
Jaime Marquínez Ferrándiz [Wed, 4 Dec 2013 22:28:40 +0000 (23:28 +0100)]
Add an extractor for theplatform.com

10 years ago[hotnewhiphop] Update test's title
Jaime Marquínez Ferrándiz [Wed, 4 Dec 2013 19:36:26 +0000 (20:36 +0100)]
[hotnewhiphop] Update test's title

10 years agoUpdate description value for the write_info_json test (required after 27dcce19045670f...
Jaime Marquínez Ferrándiz [Wed, 4 Dec 2013 19:35:00 +0000 (20:35 +0100)]
Update description value for the write_info_json test (required after 27dcce19045670fc348ff1119c0d2283aaed3ae2)

10 years agoMerge remote-tracking branch 'dstftw/correct-valid-urls'
Philipp Hagemeister [Wed, 4 Dec 2013 18:56:05 +0000 (19:56 +0100)]
Merge remote-tracking branch 'dstftw/correct-valid-urls'

10 years agoCorrect some extractor _VALID_URL regexes
dst [Wed, 4 Dec 2013 13:34:47 +0000 (20:34 +0700)]
Correct some extractor _VALID_URL regexes

10 years agorelease 2013.12.04
Philipp Hagemeister [Wed, 4 Dec 2013 13:19:07 +0000 (14:19 +0100)]
release 2013.12.04

10 years ago[youtube] Resolve URLs in comments
Philipp Hagemeister [Wed, 4 Dec 2013 13:16:52 +0000 (14:16 +0100)]
[youtube] Resolve URLs in comments

10 years ago[smotri] Fix broadcast ticket regex
dst [Wed, 4 Dec 2013 05:36:12 +0000 (12:36 +0700)]
[smotri] Fix broadcast ticket regex

10 years ago[smotri] Add an extractor for live rtmp broadcasts
dst [Wed, 4 Dec 2013 01:41:09 +0000 (08:41 +0700)]
[smotri] Add an extractor for live rtmp broadcasts

10 years agoOption '--load-info': if the download fails, try extracting the info with the 'webpag...
Jaime Marquínez Ferrándiz [Tue, 3 Dec 2013 19:16:52 +0000 (20:16 +0100)]
Option '--load-info': if the download fails, try extracting the info with the 'webpage_url' field of the info dict

The video url may have expired.

10 years agoAdd --load-info option (#972)
Jaime Marquínez Ferrándiz [Fri, 22 Nov 2013 13:57:53 +0000 (14:57 +0100)]
Add --load-info option (#972)

It just calls the 'YoutubeDL.process_ie_result' with the dictionary from the json file

10 years agoMove common code for extractors based in MTV services to a new base class
Jaime Marquínez Ferrándiz [Tue, 3 Dec 2013 13:58:24 +0000 (14:58 +0100)]
Move common code for extractors based in MTV services to a new base class

Removes the duplication of the thumbnail extraction code (only MTVIE needs to override it)

10 years agoRemove the compatibility code used before the new format system was implemented
Jaime Marquínez Ferrándiz [Tue, 3 Dec 2013 13:21:06 +0000 (14:21 +0100)]
Remove the compatibility code used before the new format system was implemented

10 years ago[daum] Fix real video ID extraction
Philipp Hagemeister [Tue, 3 Dec 2013 13:16:58 +0000 (14:16 +0100)]
[daum] Fix real video ID extraction

10 years ago[redtube] Fix search for title
Philipp Hagemeister [Tue, 3 Dec 2013 13:08:16 +0000 (14:08 +0100)]
[redtube] Fix search for title

10 years ago[xhamster] Change test checksum
Philipp Hagemeister [Tue, 3 Dec 2013 13:06:08 +0000 (14:06 +0100)]
[xhamster] Change test checksum