videos are now hosted on another domain
This commit is contained in:
parent
ef2bd73f57
commit
023700b315
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class VideoPage(HTMLPage):
|
|||
response = self.page.browser.open('http://www.youjizz.com/videos/embed/%s' % real_id)
|
||||
data = response.text
|
||||
|
||||
video_file_urls = re.findall(r'"(http://[^",]+\.youjizz\.com[^",]+\.flv(?:\?[^"]*)?)"', data)
|
||||
video_file_urls = re.findall(r'"(http://[^",]+\.yjcontentdelivery.com[^",]+\.flv(?:\?[^"]*)?)"', data)
|
||||
if len(video_file_urls) == 0:
|
||||
raise ValueError('Video URL not found')
|
||||
elif len(video_file_urls) > 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue