Skip to content

Instantly share code, notes, and snippets.

@guanix
Created February 21, 2011 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guanix/836554 to your computer and use it in GitHub Desktop.
Save guanix/836554 to your computer and use it in GitHub Desktop.
--- ../yahoo/youtube-dl 2011-02-10 22:10:41.000000000 +0000
+++ youtube-dl 2011-02-21 01:43:43.000000000 +0000
@@ -1714,13 +1714,11 @@
'url': video_url.decode('utf-8'),
'uploader': video_uploader.decode('utf-8'),
'upload_date': u'NA',
- 'title': video_title.decode('utf-8'),
- 'stitle': simple_title.decode('utf-8'),
+ 'title': video_title,
+ 'stitle': simple_title,
'ext': video_extension.decode('utf-8'),
- 'thumbnail': video_thumbnail.decode('utf-8'),
- 'description': video_description.decode('utf-8'),
'thumbnail': video_thumbnail,
- 'description': video_description.decode('utf-8'),
+ 'description': video_description,
'player_url': None,
})
except UnavailableVideoError:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment