youtube-dl

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

commit 05aa9c82d90644af406519e5e25fefb0884d504e
parent a9e58ecd3fdfa93cdc8a7f9fc852dbbd0814d6a4
Author: Naglis Jonaitis <njonaitis@gmail.com>
Date:   Sat,  6 Jun 2015 13:58:20 +0300

[sunporno] Fix view_count extraction

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

diff --git a/youtube_dl/extractor/sunporno.py b/youtube_dl/extractor/sunporno.py @@ -44,7 +44,7 @@ class SunPornoIE(InfoExtractor): webpage, 'duration', fatal=False)) view_count = int_or_none(self._html_search_regex( - r'class="views">\s*(\d+)\s*<', + r'class="views">(?:<noscript>)?\s*(\d+)\s*<', webpage, 'view count', fatal=False)) comment_count = int_or_none(self._html_search_regex( r'(\d+)</b> Comments?',