youtube-dl

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

commit 6de5dbafeebd2c54670e4cbf2833f9f10f3c2032
parent 60bf45c80d377a38b00b9ec1426c4cc1d9003742
Author: Sergey M․ <dstftw@gmail.com>
Date:   Tue, 21 Apr 2015 22:42:21 +0600

[youtube:channel] Make `extract_videos_from_page` static

Diffstat:
Myoutube_dl/extractor/youtube.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py @@ -1369,7 +1369,8 @@ class YoutubeChannelIE(InfoExtractor): } }] - def extract_videos_from_page(self, page): + @staticmethod + def extract_videos_from_page(page): ids_in_page = [] titles_in_page = [] for mobj in re.finditer(r'(?:title="(?P<title>[^"]+)"[^>]+)?href="/watch\?v=(?P<id>[0-9A-Za-z_-]+)&?', page):