0
0
Fork 0

[generic] Get a better ID

main
Philipp Hagemeister 2014-03-05 14:02:14 +01:00
parent f55a1f0a88
commit 8012bd2424
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class GenericIE(InfoExtractor):
else:
assert ':' in default_search
return self.url_result(default_search + url)
video_id = os.path.splitext(url.split('/')[-1])[0]
video_id = os.path.splitext(url.rstrip('/').split('/')[-1])[0]
self.to_screen('%s: Requesting header' % video_id)