oops
This commit is contained in:
parent
83d5af3572
commit
94aadf7ccd
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class YoupornBrowser(BaseBrowser):
|
||||||
def get_video(self, url, video=None):
|
def get_video(self, url, video=None):
|
||||||
self.location(url)
|
self.location(url)
|
||||||
if video is None:
|
if video is None:
|
||||||
return video.page.video
|
return self.page.video
|
||||||
else:
|
else:
|
||||||
for k, v in iter_fields(self.page.video):
|
for k, v in iter_fields(self.page.video):
|
||||||
if v and getattr(video, k) != v:
|
if v and getattr(video, k) != v:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue