summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DailymotionCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-08 02:09:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-08 02:15:53 +0100
commitb25bc61dd47d8d3c42969bd0f72443b21c4b059e (patch)
tree6115841c9763289bd400c6171508f397d3526bf5 /module/plugins/hoster/DailymotionCom.py
parent[ZippyshareCom] Typo (diff)
downloadpyload-b25bc61dd47d8d3c42969bd0f72443b21c4b059e.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/DailymotionCom.py')
-rw-r--r--module/plugins/hoster/DailymotionCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/DailymotionCom.py b/module/plugins/hoster/DailymotionCom.py
index cf75af3d2..02df9dde7 100644
--- a/module/plugins/hoster/DailymotionCom.py
+++ b/module/plugins/hoster/DailymotionCom.py
@@ -16,8 +16,8 @@ def getInfo(urls):
for url in urls:
id = regex.match(url).group('ID')
- page = getURL(apiurl % id, get=request)
- info = json_loads(page)
+ html = getURL(apiurl % id, get=request)
+ info = json_loads(html)
name = info['title'] + ".mp4" if "title" in info else url