aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/moviefap.py
diff options
context:
space:
mode:
authorGeorge Brighton <george@gebn.co.uk>2015-06-27 21:04:53 +0100
committerGeorge Brighton <george@gebn.co.uk>2015-06-27 21:04:53 +0100
commitb971abe897ee17fed7e36868fdc8880f6b145d7b (patch)
tree8b7bf7a683c9cb2cef9ce4d9294383fdeb74bcb9 /youtube_dl/extractor/moviefap.py
parent43b925ce74efd0a011f7880dcdcc90f4cf3b8f4b (diff)
[moviefap] Replace call to `str()` with `compat.compat_str()`
Diffstat (limited to 'youtube_dl/extractor/moviefap.py')
-rw-r--r--youtube_dl/extractor/moviefap.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/moviefap.py b/youtube_dl/extractor/moviefap.py
index 6da93dbc9..20a78f3b2 100644
--- 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
})