Refactor code to use url_result
This commit is contained in:
parent
8437f5089f
commit
d226c560a6
9 changed files with 13 additions and 43 deletions
|
@ -363,7 +363,4 @@ class LivestreamShortenerIE(InfoExtractor):
|
|||
id = mobj.group('id')
|
||||
webpage = self._download_webpage(url, id)
|
||||
|
||||
return {
|
||||
'_type': 'url',
|
||||
'url': self._og_search_url(webpage),
|
||||
}
|
||||
return self.url_result(self._og_search_url(webpage))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue