diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-04-04 23:06:27 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-04-04 23:06:27 +0200 |
commit | 7d1b527ff9f942d4a6b3bfaf0a04a9f42ac317fe (patch) | |
tree | 0dd70fa07df52d757dd0dcf73ade4c348c23285a /youtube_dl/extractor/motorsport.py | |
parent | f943c7b6227fd9b17b920dff664e014cbd62f2b2 (diff) |
[motorsport] Fix on Python 3
Diffstat (limited to 'youtube_dl/extractor/motorsport.py')
-rw-r--r-- | youtube_dl/extractor/motorsport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/motorsport.py b/youtube_dl/extractor/motorsport.py index dc727be10..7c0ec6a12 100644 --- a/youtube_dl/extractor/motorsport.py +++ b/youtube_dl/extractor/motorsport.py @@ -44,7 +44,7 @@ class MotorsportIE(InfoExtractor): e = compat_str(int(time.time()) + 24 * 60 * 60) base_video_url = params['location'] + '?e=' + e s = 'h3hg713fh32' - h = hashlib.md5(s + base_video_url).hexdigest() + h = hashlib.md5((s + base_video_url).encode('utf-8')).hexdigest() video_url = base_video_url + '&h=' + h uploader = self._html_search_regex( |