youtube-dl

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

commit 88641243abfdc5673359269574bf7c76191966bc
parent 40e146aa1e1a8fd57d3f84b0a541174f56fa5dba
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu, 18 Feb 2016 22:30:19 +0600

[pornhub:playlistbase] Improve extract entries

Diffstat:
Myoutube_dl/extractor/pornhub.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py @@ -132,7 +132,7 @@ class PornHubIE(InfoExtractor): class PornHubPlaylistBaseIE(InfoExtractor): def _extract_entries(self, webpage): return [ - self.url_result('http://www.pornhub.com/%s' % video_url, 'PornHub') + self.url_result('http://www.pornhub.com/%s' % video_url, PornHubIE.ie_key()) for video_url in set(re.findall( r'href="/?(view_video\.php\?.*\bviewkey=[\da-z]+[^"]*)"', webpage)) ]