id decoration belongs to formatter
This commit is contained in:
parent
cc610a5e12
commit
a0f8137fc5
5 changed files with 28 additions and 23 deletions
|
|
@ -51,7 +51,7 @@ class VideoPage(BasePage):
|
|||
continue
|
||||
for m in re.finditer(self.VIDEO_SIGNATURE_REGEX, data.text):
|
||||
video_signature = m.group(1)
|
||||
return 'http://www.youtube.com/get_video?video_id=%s&t=%s&fmt=18' % (self.video.provider_id, video_signature)
|
||||
return 'http://www.youtube.com/get_video?video_id=%s&t=%s&fmt=18' % (self.video.id, video_signature)
|
||||
|
||||
def get_title(self):
|
||||
found = self.document.getroot().cssselect('meta[name=title]')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue