From 5375b7ff9cd64f0a9e98260205193804eb890903 Mon Sep 17 00:00:00 2001 From: John Hawkinson Date: Sat, 15 Oct 2016 05:15:37 -0400 Subject: [PATCH] [nytimes] No u"" unicode literals in python3 --- youtube_dl/extractor/nytimes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/nytimes.py b/youtube_dl/extractor/nytimes.py index 4105802a7..d5012af1d 100644 --- a/youtube_dl/extractor/nytimes.py +++ b/youtube_dl/extractor/nytimes.py @@ -105,7 +105,7 @@ class NYTimesBaseIE(InfoExtractor): if not len(description): description = self._html_search_meta(['og:description', 'twitter:description'], webpage) - episode_title = audio_data['track']['title'].strip(u"‘’") # strip curlyquotes + episode_title = audio_data['track']['title'].strip("‘’") # strip curlyquotes episode_number = None episode = audio_data['podcast']['episode'].split() if len(episode):