1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[moviefap] Replace call to str() with compat.compat_str()

This commit is contained in:
George Brighton 2015-06-27 21:04:53 +01:00
parent 43b925ce74
commit b971abe897

View file

@ -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
})