youtube-dl
7 years agolazy-extractors: Fix after commit 6e6b9f600f2f447604f6108fb6486b73cc25def1
Jaime Marquínez Ferrándiz [Wed, 22 Jun 2016 17:13:46 +0000 (19:13 +0200)]
lazy-extractors: Fix after commit 6e6b9f600f2f447604f6108fb6486b73cc25def1

The problem was in the following code:

    class ArteTVPlus7IE(ArteTVBaseIE):

        ...

        @classmethod
        def suitable(cls, url):
            return False if ArteTVPlaylistIE.suitable(url) else super(ArteTVPlus7IE, cls).suitable(url)

And its sublcasses like ArteTVCinemaIE.

Since in the lazy_extractors.py file ArteTVCinemaIE was not a subclass of ArteTVPlus7IE, super(ArteTVPlus7IE, cls) failed.

To fix it we have to make it a subclass. Since the order of _ALL_CLASSES is arbitrary we must sort them so that the base classes are defined first. We also must add base classes like YoutubeBaseInfoExtractor.

7 years ago[Vine] Extract view count
TRox1972 [Tue, 21 Jun 2016 09:36:54 +0000 (11:36 +0200)]
[Vine] Extract view count

7 years agorelease 2016.06.22
Sergey M․ [Wed, 22 Jun 2016 16:43:24 +0000 (23:43 +0700)]
release 2016.06.22

7 years ago[svt] Various improvements
Sergey M․ [Wed, 22 Jun 2016 16:36:07 +0000 (23:36 +0700)]
[svt] Various improvements

+ [svt:play] Add fallback path looking for video id and fix extraction for oppetarkiv
* [svt:base] Detect geo restriction
* [svt:base] Extract series related metadata

7 years agoFix issue downloading facebook videos
Shai Coleman [Wed, 22 Jun 2016 11:52:15 +0000 (12:52 +0100)]
Fix issue downloading facebook videos

youtube-dl expects the format items to be returned as a list,
but when there's only one item Facebook returns a dict instead,
this wraps the dict in a list if necessary

7 years ago[gametrailers] Remove extractor
Sergey M․ [Tue, 21 Jun 2016 15:31:41 +0000 (22:31 +0700)]
[gametrailers] Remove extractor

gametrailers closed (see http://www.polygon.com/2016/2/8/10944452/gametrailers-shuts-down-after-13-year-run)

7 years ago[gamespot] extract all formats
Remita Amine [Tue, 21 Jun 2016 12:36:56 +0000 (13:36 +0100)]
[gamespot] extract all formats

7 years ago[svt] Fix extraction for SVTPlay (closes #9809)
Yen Chi Hsuan [Tue, 21 Jun 2016 09:55:53 +0000 (17:55 +0800)]
[svt] Fix extraction for SVTPlay (closes #9809)

7 years ago[cbs] Remove unused import
Sergey M․ [Mon, 20 Jun 2016 15:40:33 +0000 (22:40 +0700)]
[cbs] Remove unused import

7 years ago[streamcloud] Capture error message (#9840)
Sergey M․ [Mon, 20 Jun 2016 15:40:22 +0000 (22:40 +0700)]
[streamcloud] Capture error message (#9840)

7 years agorelease 2016.06.20
Sergey M․ [Mon, 20 Jun 2016 13:50:01 +0000 (20:50 +0700)]
release 2016.06.20

7 years ago[downloader/hls] Simplify and carry long lines
Sergey M․ [Mon, 20 Jun 2016 14:55:17 +0000 (21:55 +0700)]
[downloader/hls] Simplify and carry long lines

7 years agoRevert "[jsinterp] Avoid double key lookup for setting new key"
Philipp Hagemeister [Mon, 20 Jun 2016 11:29:13 +0000 (13:29 +0200)]
Revert "[jsinterp] Avoid double key lookup for setting new key"

This reverts commit 7c05097633138459e9bdf7e10738e021b04689a7.

7 years ago[cbs] fix _VALID_URL
Remita Amine [Sun, 19 Jun 2016 22:55:19 +0000 (23:55 +0100)]
[cbs] fix _VALID_URL

7 years ago[cbs,cbsnews,cbssports] reduce requests while extracting all formats
Remita Amine [Sun, 19 Jun 2016 22:40:00 +0000 (23:40 +0100)]
[cbs,cbsnews,cbssports] reduce requests while extracting all formats

7 years ago[theplatform] reduce requests for theplatform feed info extraction
Remita Amine [Sun, 19 Jun 2016 22:37:05 +0000 (23:37 +0100)]
[theplatform] reduce requests for theplatform feed info extraction

7 years ago[radiojavan] PEP8
Yen Chi Hsuan [Sun, 19 Jun 2016 05:32:08 +0000 (13:32 +0800)]
[radiojavan] PEP8

E275 is added in pycodestyle 2.6

See https://github.com/PyCQA/pycodestyle/pull/491

7 years agoMerge pull request #8201 from remitamine/hls-aes
Yen Chi Hsuan [Sun, 19 Jun 2016 05:25:08 +0000 (13:25 +0800)]
Merge pull request #8201 from remitamine/hls-aes

[downloader/hls] Add support for AES-128 encrypted segments in hlsnative downloader

7 years ago[foxsports] extract http formats
Remita Amine [Sun, 19 Jun 2016 04:45:48 +0000 (05:45 +0100)]
[foxsports] extract http formats

7 years ago[downloader/hls] Add support for AES-128 encrypted segments in hlsnative downloader
remitamine [Sun, 10 Jan 2016 19:09:53 +0000 (20:09 +0100)]
[downloader/hls] Add support for AES-128 encrypted segments in hlsnative downloader

7 years agorelease 2016.06.19.1
Sergey M․ [Sat, 18 Jun 2016 20:57:14 +0000 (03:57 +0700)]
release 2016.06.19.1

7 years ago[vimeo] Fix rented videos (Closes #9830)
Sergey M․ [Sat, 18 Jun 2016 20:56:01 +0000 (03:56 +0700)]
[vimeo] Fix rented videos (Closes #9830)

7 years ago[jsinterp] Avoid double key lookup for setting new key
Lucas Moura [Sat, 18 Jun 2016 20:01:47 +0000 (17:01 -0300)]
[jsinterp] Avoid double key lookup for setting new key

In order to add a new key to both __objects and __functions dicts on jsinterp.py, it is
necessary to first verify if a key was present and if not, create the key and
assign it to a value.

However, this can be done with a single step using dict setdefault method.

7 years agorelease 2016.06.19
Sergey M․ [Sat, 18 Jun 2016 19:30:29 +0000 (02:30 +0700)]
release 2016.06.19

7 years ago[r7] Fix extraction and add support for articles (Closes #9826)
Sergey M․ [Sat, 18 Jun 2016 19:25:34 +0000 (02:25 +0700)]
[r7] Fix extraction and add support for articles (Closes #9826)

7 years ago[closertotruth] Update and improve (Closes #8680)
Sergey M․ [Sat, 18 Jun 2016 17:35:29 +0000 (00:35 +0700)]
[closertotruth] Update and improve (Closes #8680)

7 years ago[closertotruth] Add extractor
Steven Gosseling [Fri, 26 Feb 2016 12:31:52 +0000 (13:31 +0100)]
[closertotruth] Add extractor

Removed print statement from code.

Replaced two regex searches with the corret ones.

Removed some unnecessary semicolumns

fixed title extraction

refactored everything to search_regex

processed comments on commit 5650b0d, fixed feedback from flake8

Improved regexes and returns info dict now.

Added support for closertotruth interview URL

Added support for episodes page

7 years ago[arte:+7] Simplify _VALID_URL
Sergey M․ [Sat, 18 Jun 2016 15:23:48 +0000 (22:23 +0700)]
[arte:+7] Simplify _VALID_URL

7 years ago[README.md] Remove 'small' from description (#9814)
Sergey M․ [Sat, 18 Jun 2016 15:08:48 +0000 (22:08 +0700)]
[README.md] Remove 'small' from description (#9814)

7 years ago[arte:+7] Expand _VALID_URL (Closes #9820)
Sergey M․ [Sat, 18 Jun 2016 14:42:17 +0000 (21:42 +0700)]
[arte:+7] Expand _VALID_URL (Closes #9820)

7 years ago[extractors] Update references to sportschau (#9799)
Yen Chi Hsuan [Sat, 18 Jun 2016 05:43:47 +0000 (13:43 +0800)]
[extractors] Update references to sportschau (#9799)

7 years ago[sportschau.de] Fix extraction and moved to its own file (closes #9799)
Yen Chi Hsuan [Sat, 18 Jun 2016 05:42:58 +0000 (13:42 +0800)]
[sportschau.de] Fix extraction and moved to its own file (closes #9799)

7 years ago[ard] Remove SportschauIE, which is now based on WDR (#9799)
Yen Chi Hsuan [Sat, 18 Jun 2016 05:41:50 +0000 (13:41 +0800)]
[ard] Remove SportschauIE, which is now based on WDR (#9799)

7 years ago[wdr] Add WDRBaseIE, for Sportschau (#9799)
Yen Chi Hsuan [Sat, 18 Jun 2016 05:40:55 +0000 (13:40 +0800)]
[wdr] Add WDRBaseIE, for Sportschau (#9799)

7 years ago[br] Skip invalid tests
Yen Chi Hsuan [Sat, 18 Jun 2016 04:53:48 +0000 (12:53 +0800)]
[br] Skip invalid tests

7 years ago[azubu] Don't fail on optional fields
Yen Chi Hsuan [Sat, 18 Jun 2016 04:39:08 +0000 (12:39 +0800)]
[azubu] Don't fail on optional fields

7 years ago[bbc] Skip a geo-restricted test case
Yen Chi Hsuan [Sat, 18 Jun 2016 04:35:55 +0000 (12:35 +0800)]
[bbc] Skip a geo-restricted test case

7 years ago[arte] Update _TESTS and fix for pages with multiple YouTube videos
Yen Chi Hsuan [Sat, 18 Jun 2016 04:34:58 +0000 (12:34 +0800)]
[arte] Update _TESTS and fix for pages with multiple YouTube videos

Some tests are from #6895 and #6613

7 years ago[aftonbladet] Fix extraction
Yen Chi Hsuan [Sat, 18 Jun 2016 04:27:39 +0000 (12:27 +0800)]
[aftonbladet] Fix extraction

7 years ago[adobetv] Use embedded data in the webpage
Yen Chi Hsuan [Sat, 18 Jun 2016 04:21:40 +0000 (12:21 +0800)]
[adobetv] Use embedded data in the webpage

Sometimes the HTML webpage is returned even with '?format=json'

7 years ago[mtvservices] Fix ext for RTMP streams
Yen Chi Hsuan [Sat, 18 Jun 2016 04:19:06 +0000 (12:19 +0800)]
[mtvservices] Fix ext for RTMP streams

7 years ago[bet] Moved to MTVServices
Yen Chi Hsuan [Sat, 18 Jun 2016 04:17:24 +0000 (12:17 +0800)]
[bet] Moved to MTVServices

7 years agorelease 2016.06.18.1
Sergey M․ [Fri, 17 Jun 2016 23:20:34 +0000 (06:20 +0700)]
release 2016.06.18.1

7 years agorelease 2016.06.18
Sergey M․ [Fri, 17 Jun 2016 23:00:05 +0000 (06:00 +0700)]
release 2016.06.18

7 years ago[pornhd] Add working test
Sergey M․ [Fri, 17 Jun 2016 22:50:17 +0000 (05:50 +0700)]
[pornhd] Add working test

7 years ago[pornhd] Detect removed videos and modernize
Sergey M․ [Fri, 17 Jun 2016 22:42:20 +0000 (05:42 +0700)]
[pornhd] Detect removed videos and modernize

7 years ago[pornhd] Improve formats extraction
Sergey M․ [Fri, 17 Jun 2016 22:37:53 +0000 (05:37 +0700)]
[pornhd] Improve formats extraction

7 years ago[pornhd] Fix metadata extraction
Sergey M․ [Fri, 17 Jun 2016 22:30:46 +0000 (05:30 +0700)]
[pornhd] Fix metadata extraction

7 years ago[mtv] Use compat_xpath and fix FutureWarning
Sergey M․ [Fri, 17 Jun 2016 21:46:26 +0000 (04:46 +0700)]
[mtv] Use compat_xpath and fix FutureWarning

7 years ago[nickde] Add extractor (Closes #9778)
Sergey M․ [Fri, 17 Jun 2016 21:40:48 +0000 (04:40 +0700)]
[nickde] Add extractor (Closes #9778)

7 years ago[mitele] Extract series metadata and make title more robust (Closes #9758)
Sergey M․ [Fri, 17 Jun 2016 21:06:19 +0000 (04:06 +0700)]
[mitele] Extract series metadata and make title more robust (Closes #9758)

7 years ago[carambatv] Add extractor (Closes #9815)
Sergey M․ [Fri, 17 Jun 2016 20:04:14 +0000 (03:04 +0700)]
[carambatv] Add extractor (Closes #9815)

7 years ago[bbccouk] Add support for playlists (Closes #9812)
Sergey M․ [Fri, 17 Jun 2016 16:42:52 +0000 (23:42 +0700)]
[bbccouk] Add support for playlists (Closes #9812)

7 years agorelease 2016.06.16
Sergey M․ [Thu, 16 Jun 2016 15:40:55 +0000 (22:40 +0700)]
release 2016.06.16

7 years ago[cda] Fix extraction (Closes #9803)
Sergey M․ [Thu, 16 Jun 2016 15:33:12 +0000 (22:33 +0700)]
[cda] Fix extraction (Closes #9803)

7 years ago[wimp] Fix extraction and update _TESTS
Yen Chi Hsuan [Thu, 16 Jun 2016 04:27:21 +0000 (12:27 +0800)]
[wimp] Fix extraction and update _TESTS

7 years ago[jwplatform] Improved JWPlayer support
Yen Chi Hsuan [Thu, 16 Jun 2016 04:26:45 +0000 (12:26 +0800)]
[jwplatform] Improved JWPlayer support

7 years ago[utils] Don't transform numbers not starting with a zero
Yen Chi Hsuan [Thu, 16 Jun 2016 03:00:54 +0000 (11:00 +0800)]
[utils] Don't transform numbers not starting with a zero

Fix test_Viidea and maybe others

7 years ago[imdb] Improve _VALID_URL (Closes #9788)
Sergey M․ [Wed, 15 Jun 2016 15:34:55 +0000 (22:34 +0700)]
[imdb] Improve _VALID_URL (Closes #9788)

7 years ago[wrzuta.pl] Detect error and update _TESTS
Yen Chi Hsuan [Tue, 14 Jun 2016 03:14:59 +0000 (11:14 +0800)]
[wrzuta.pl] Detect error and update _TESTS

7 years ago[pornhub] Improve title extraction (Closes #9777)
Sergey M․ [Mon, 13 Jun 2016 21:57:59 +0000 (04:57 +0700)]
[pornhub] Improve title extraction (Closes #9777)

7 years ago[devscripts/release.sh] Add flag for gpg-sign commits
Sergey M․ [Mon, 13 Jun 2016 20:16:56 +0000 (03:16 +0700)]
[devscripts/release.sh] Add flag for gpg-sign commits

7 years ago[lynda] Remove superfluous _NETRC_MACHINE
Sergey M․ [Mon, 13 Jun 2016 19:49:33 +0000 (02:49 +0700)]
[lynda] Remove superfluous _NETRC_MACHINE

7 years agorelease 2016.06.14
Sergey M․ [Mon, 13 Jun 2016 19:19:42 +0000 (02:19 +0700)]
release 2016.06.14

7 years agoCredit @venth for wrzuta:playlist (#9341)
Sergey M․ [Mon, 13 Jun 2016 19:15:47 +0000 (02:15 +0700)]
Credit @venth for wrzuta:playlist (#9341)

7 years agoCredit @dracony for rockstargames (#9737)
Sergey M․ [Mon, 13 Jun 2016 19:15:09 +0000 (02:15 +0700)]
Credit @dracony for rockstargames (#9737)

7 years ago[wrzuta:playlist] Improve and simplify (Closes #9341)
Sergey M․ [Mon, 13 Jun 2016 19:13:54 +0000 (02:13 +0700)]
[wrzuta:playlist] Improve and simplify (Closes #9341)

7 years ago[wrzuta.pl:playlist] Added playlist extraction from wrzuta.pl
venth [Sun, 8 May 2016 20:26:08 +0000 (22:26 +0200)]
[wrzuta.pl:playlist] Added playlist extraction from wrzuta.pl

7 years ago[rockstargames] Improve and add Youtube fallback (Closes #9737)
Sergey M․ [Mon, 13 Jun 2016 18:11:24 +0000 (01:11 +0700)]
[rockstargames] Improve and add Youtube fallback (Closes #9737)

7 years agoAdded extractor for rockstargames.com
Dracony [Thu, 9 Jun 2016 11:31:22 +0000 (13:31 +0200)]
Added extractor for rockstargames.com

7 years ago[twitch:clips] Add extractor (Closes #9767)
Sergey M․ [Mon, 13 Jun 2016 17:06:31 +0000 (00:06 +0700)]
[twitch:clips] Add extractor (Closes #9767)

7 years ago[README.md] Suggest checking extractor code under all Python versions
Sergey M․ [Mon, 13 Jun 2016 03:04:04 +0000 (10:04 +0700)]
[README.md] Suggest checking extractor code under all Python versions

7 years ago[README.md] Update links to info dict metafields
Sergey M․ [Mon, 13 Jun 2016 00:16:35 +0000 (07:16 +0700)]
[README.md] Update links to info dict metafields

7 years ago[README.md] Update links to options available for YoutubeDL
Sergey M․ [Mon, 13 Jun 2016 00:05:32 +0000 (07:05 +0700)]
[README.md] Update links to options available for YoutubeDL

7 years ago[xfileshare] Improve removed videos detection
Sergey M․ [Sun, 12 Jun 2016 18:19:54 +0000 (01:19 +0700)]
[xfileshare] Improve removed videos detection

7 years ago[xfileshare] Fix test
Sergey M․ [Sun, 12 Jun 2016 18:11:14 +0000 (01:11 +0700)]
[xfileshare] Fix test

7 years ago[xfileshare:xvidstage] Add support for videos with packed codes (Closes #4335)
Sergey M․ [Sun, 12 Jun 2016 18:11:04 +0000 (01:11 +0700)]
[xfileshare:xvidstage] Add support for videos with packed codes (Closes #4335)

7 years ago[downloader/external] Decode error string before writing to stderr
Sergey M․ [Sun, 12 Jun 2016 09:45:07 +0000 (16:45 +0700)]
[downloader/external] Decode error string before writing to stderr

7 years agorelease 2016.06.12
Sergey M․ [Sun, 12 Jun 2016 05:06:48 +0000 (12:06 +0700)]
release 2016.06.12

7 years ago[streamcloud] Detect removed videos (Closes #3768)
Sergey M․ [Sun, 12 Jun 2016 04:08:39 +0000 (11:08 +0700)]
[streamcloud] Detect removed videos (Closes #3768)

7 years ago[nrk:skole] Fix extraction
Sergey M․ [Sun, 12 Jun 2016 00:20:37 +0000 (07:20 +0700)]
[nrk:skole] Fix extraction

7 years ago[nrktv] Fix tests
Sergey M․ [Sat, 11 Jun 2016 23:57:04 +0000 (06:57 +0700)]
[nrktv] Fix tests

7 years ago[README.md] Document using output template in batch files (Closes #9717)
Sergey M․ [Sat, 11 Jun 2016 23:39:31 +0000 (06:39 +0700)]
[README.md] Document using output template in batch files (Closes #9717)

7 years ago[instagram] Extract metadata from JSON
Sergey M․ [Sat, 11 Jun 2016 23:06:04 +0000 (06:06 +0700)]
[instagram] Extract metadata from JSON

7 years ago[utils] Add try_get
Sergey M․ [Sat, 11 Jun 2016 23:05:34 +0000 (06:05 +0700)]
[utils] Add try_get

To reduce boilerplate when accessing JSON

7 years ago[youporn] Fix metadata extraction
Sergey M․ [Sat, 11 Jun 2016 21:49:37 +0000 (04:49 +0700)]
[youporn] Fix metadata extraction

7 years ago[matchtv] Modernize
Sergey M․ [Sat, 11 Jun 2016 18:57:23 +0000 (01:57 +0700)]
[matchtv] Modernize

7 years ago[viki] Do not use a fallback language for title in the first try
Yen Chi Hsuan [Sat, 11 Jun 2016 15:00:44 +0000 (23:00 +0800)]
[viki] Do not use a fallback language for title in the first try

In test_Viki_3, 'titles' gives a Hebrew title.

7 years ago[viki] Update _TESTS
Yen Chi Hsuan [Sat, 11 Jun 2016 14:39:13 +0000 (22:39 +0800)]
[viki] Update _TESTS

7 years ago[viki] Skip a geo-restricted test
Yen Chi Hsuan [Sat, 11 Jun 2016 13:49:01 +0000 (21:49 +0800)]
[viki] Skip a geo-restricted test

7 years ago[vimeo] Fix extraction for VimeoReview videos
Yen Chi Hsuan [Sat, 11 Jun 2016 13:35:08 +0000 (21:35 +0800)]
[vimeo] Fix extraction for VimeoReview videos

7 years ago[generic] Remove an invalid test
Yen Chi Hsuan [Sat, 11 Jun 2016 10:33:37 +0000 (18:33 +0800)]
[generic] Remove an invalid test

Now handled by telewebion.py

7 years ago[telewebion] Add new extractor (closes #5135)
Yen Chi Hsuan [Sat, 11 Jun 2016 10:22:26 +0000 (18:22 +0800)]
[telewebion] Add new extractor (closes #5135)

7 years agoMerge pull request #9755 from vxbinaca/patch-2
Yen Chi Hsuan [Sat, 11 Jun 2016 09:38:45 +0000 (17:38 +0800)]
Merge pull request #9755 from vxbinaca/patch-2

[utils] Change Firefox 44 to 47

7 years ago[utils] Change Firefox 44 to 47
Paul Henning [Sat, 11 Jun 2016 09:36:31 +0000 (05:36 -0400)]
[utils] Change Firefox 44 to 47

See commit title.

7 years ago[kuwo] Update _TESTS
Yen Chi Hsuan [Sat, 11 Jun 2016 07:37:04 +0000 (15:37 +0800)]
[kuwo] Update _TESTS

7 years ago[leeco] Recognize Le Sports URLs (fixes #9750)
Yen Chi Hsuan [Sat, 11 Jun 2016 05:13:16 +0000 (13:13 +0800)]
[leeco] Recognize Le Sports URLs (fixes #9750)

7 years agorelease 2016.06.11.3
Sergey M․ [Sat, 11 Jun 2016 01:34:30 +0000 (08:34 +0700)]
release 2016.06.11.3

7 years agorelease 2016.06.11.2
Sergey M․ [Sat, 11 Jun 2016 01:28:51 +0000 (08:28 +0700)]
release 2016.06.11.2

7 years ago[setup.py] Add python 3.5 classifier
Sergey M․ [Fri, 10 Jun 2016 23:14:22 +0000 (06:14 +0700)]
[setup.py] Add python 3.5 classifier