summaryrefslogtreecommitdiffstats
path: root/module/plugins/decrypter/YoutubeChannel.py
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2010-01-15 15:03:00 +0100
committerGravatar spoob <spoob@gmx.de> 2010-01-15 15:03:00 +0100
commit2edf36eb45d427262e9f83af90b8b4fc2f69aab8 (patch)
tree5cadf5d76f3784512973244194b19fbade2c1a4b /module/plugins/decrypter/YoutubeChannel.py
parentmerge + fix (diff)
downloadpyload-2edf36eb45d427262e9f83af90b8b4fc2f69aab8.tar.xz
Better Argument Parsing in Core, littel fixes
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)