removed unused command
This commit is contained in:
parent
9d229be8b1
commit
04820fd782
1 changed files with 0 additions and 8 deletions
|
|
@ -70,11 +70,3 @@ class Videoob(ConsoleApplication):
|
||||||
results[backend.name] = [(video.id, video.title, video.formatted_duration) for video in
|
results[backend.name] = [(video.id, video.title, video.formatted_duration) for video in
|
||||||
backend.iter_search_results(pattern=pattern)]
|
backend.iter_search_results(pattern=pattern)]
|
||||||
return results
|
return results
|
||||||
|
|
||||||
@ConsoleApplication.command('Get video file URL from page URL')
|
|
||||||
def command_file_url(self, url):
|
|
||||||
for backend in self.weboob.iter_backends():
|
|
||||||
video = backend.get_video(url)
|
|
||||||
if video:
|
|
||||||
print video.url
|
|
||||||
break
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue