summaryrefslogtreecommitdiffstats
path: root/module/plugins/decrypter/YoutubeChannel.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/decrypter/YoutubeChannel.py')
-rw-r--r--module/plugins/decrypter/YoutubeChannel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/decrypter/YoutubeChannel.py b/module/plugins/decrypter/YoutubeChannel.py
index a5751ed7c..ba2ca1472 100644
--- a/module/plugins/decrypter/YoutubeChannel.py
+++ b/module/plugins/decrypter/YoutubeChannel.py
@@ -44,7 +44,7 @@ class YoutubeChannel(Plugin):
if max_results > 50:
max_results = 50
url = "http://gdata.youtube.com/feeds/api/users/%s/%s?max-results=%i&start-index=%i" % (self.user, group, max_results, start_index)
- rep = self.req.load(str(url))
+ rep = self.req.load(url)
new_links = re.findall(r"href\='(http:\/\/www.youtube.com\/watch\?v\=[^']+)", rep)
if new_links != []:
temp_links.extend(new_links)