Refactor code to use url_result
This commit is contained in:
parent
8437f5089f
commit
d226c560a6
9 changed files with 13 additions and 43 deletions
|
@ -61,8 +61,4 @@ class TestURLIE(InfoExtractor):
|
|||
|
||||
self.to_screen('Test URL: %s' % tc['url'])
|
||||
|
||||
return {
|
||||
'_type': 'url',
|
||||
'url': tc['url'],
|
||||
'id': video_id,
|
||||
}
|
||||
return self.url_result(tc['url'], video_id=video_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue