youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 10eaae48ffe1042d9c5f77fd563832bf795ad647
parent 9d4660cab15f374176f87d3f747a559142e4af9b
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Tue, 15 Oct 2013 12:05:24 +0200

Merge branch 'master' of github.com:rg3/youtube-dl

Diffstat:
Mtest/test_write_annotations.py | 1-
Mtest/test_youtube_lists.py | 2+-
Myoutube_dl/extractor/sztvhu.py | 2+-
Myoutube_dl/extractor/websurg.py | 3++-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/test_write_annotations.py b/test/test_write_annotations.py @@ -17,7 +17,6 @@ import xml.etree.ElementTree import youtube_dl.YoutubeDL import youtube_dl.extractor -from youtube_dl.utils import True class YoutubeDL(youtube_dl.YoutubeDL): diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py @@ -106,7 +106,7 @@ class TestYoutubeLists(unittest.TestCase): dl = FakeYDL() ie = YoutubeShowIE(dl) result = ie.extract('http://www.youtube.com/show/airdisasters') - self.assertTrue(len(result) >= 4) + self.assertTrue(len(result) >= 3) if __name__ == '__main__': unittest.main() diff --git a/youtube_dl/extractor/sztvhu.py b/youtube_dl/extractor/sztvhu.py @@ -25,7 +25,7 @@ class SztvHuIE(InfoExtractor): video_file = self._search_regex( r'file: "...:(.*?)",', webpage, 'video file') title = self._html_search_regex( - r'<meta name="title" content="([^"]*) - [^-]*"', + r'<meta name="title" content="([^"]*?) - [^-]*? - [^-]*?"', webpage, 'video title') description = self._html_search_regex( r'<meta name="description" content="([^"]*)"/>', diff --git a/youtube_dl/extractor/websurg.py b/youtube_dl/extractor/websurg.py @@ -18,7 +18,8 @@ class WeBSurgIE(InfoExtractor): u'file': u'vd01en4012.mp4', u'params': { u'skip_download': True, - } + }, + u'skip': u'Requires login information', } _LOGIN_URL = 'http://www.websurg.com/inc/login/login_div.ajax.php?login=1'