mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-28 13:11:49 +00:00
Fix string interpolation to support python2
This commit is contained in:
parent
5ca7aa4286
commit
f0897a7581
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class RecurbateIE(InfoExtractor):
|
|||
|
||||
title = self._html_search_regex(r'<title>(.+?)</title>', webpage, 'title')
|
||||
token = self._html_search_regex(r'data-token=(.+?")', webpage, 'play_button').strip("\"")
|
||||
get_url = f"https://recurbate.com/api/get.php?video={video_id}&token={token}"
|
||||
get_url = "https://recurbate.com/api/get.php?video={}&token={}".format(video_id, token)
|
||||
video_webpage = self._download_webpage(get_url, video_id)
|
||||
real_url = self._html_search_regex(r'<source src=(.+?) type=\"video\/mp4\"', video_webpage, 'mp4video').strip("\"")
|
||||
|
||||
|
|
Loading…
Reference in a new issue