Browse Source

Merge pull request #3022 from MikeCol/Extremetube_title

title extraction condition less restrictive
totalwebcasting
Sergey M. 11 years ago
parent
commit
3374f3fdc2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/extremetube.py

+ 1
- 1
youtube_dl/extractor/extremetube.py View File

@ -37,7 +37,7 @@ class ExtremeTubeIE(InfoExtractor):
webpage = self._download_webpage(req, video_id) webpage = self._download_webpage(req, video_id)
video_title = self._html_search_regex( video_title = self._html_search_regex(
r'<h1 [^>]*?title="([^"]+)"[^>]*>\1<', webpage, 'title')
r'<h1 [^>]*?title="([^"]+)"[^>]*>', webpage, 'title')
uploader = self._html_search_regex( uploader = self._html_search_regex(
r'>Posted by:(?=<)(?:\s|<[^>]*>)*(.+?)\|', webpage, 'uploader', r'>Posted by:(?=<)(?:\s|<[^>]*>)*(.+?)\|', webpage, 'uploader',
fatal=False) fatal=False)


Loading…
Cancel
Save