projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b925c
)
[moviefap] Replace call to `str()` with `compat.compat_str()`
author
George Brighton
<george@gebn.co.uk>
Sat, 27 Jun 2015 20:04:53 +0000
(21:04 +0100)
committer
George Brighton
<george@gebn.co.uk>
Sat, 27 Jun 2015 20:04:53 +0000
(21:04 +0100)
youtube_dl/extractor/moviefap.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/moviefap.py
b/youtube_dl/extractor/moviefap.py
index 6da93dbc9b71bc5dbd4233dcc8344f7a11e27523..20a78f3b2ba62a36cfd284c3cd210f99fb2db218 100644
(file)
--- a/
youtube_dl/extractor/moviefap.py
+++ b/
youtube_dl/extractor/moviefap.py
@@
-7,6
+7,7
@@
from ..utils import (
xpath_text,
str_to_int
)
+from ..compat import compat_str
class MovieFapIE(InfoExtractor):
@@
-65,7
+66,7
@@
class MovieFapIE(InfoExtractor):
thumbnails = []
for i in range(first, last + 1):
thumbnails.append({
- 'url': pattern.replace('#', str(i)),
+ 'url': pattern.replace('#',
compat_
str(i)),
'width': width,
'height': height
})