projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f23a3ca
)
[Gamekings] Fix order of replacement string
author
robin
<rderooij685@gmail.com>
Sun, 8 Feb 2015 12:49:32 +0000
(13:49 +0100)
committer
robin
<rderooij685@gmail.com>
Sun, 8 Feb 2015 12:49:32 +0000
(13:49 +0100)
Oops.
youtube_dl/extractor/gamekings.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/gamekings.py
b/youtube_dl/extractor/gamekings.py
index 1697f5e44019001f18cbf79c5ae9746f13c97a7b..a5d854ade16cd55441b2019f76c525a61f6839b6 100644
(file)
--- a/
youtube_dl/extractor/gamekings.py
+++ b/
youtube_dl/extractor/gamekings.py
@@
-32,7
+32,7
@@
class GamekingsIE(InfoExtractor):
# Todo: add medium format
video_url = video_url.replace(video_id, 'large/' + video_id)
if not (self._is_valid_url(video_url, video_id)):
- video_url = video_url.replace(
video_id + 'large/'
, video_id)
+ video_url = video_url.replace(
'large/' + video_id
, video_id)
return {
'id': video_id,