summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/crypter/DailymotionComFolder.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/crypter/DailymotionComFolder.py')
-rw-r--r--pyload/plugin/crypter/DailymotionComFolder.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/crypter/DailymotionComFolder.py b/pyload/plugin/crypter/DailymotionComFolder.py
index fe173fe82..06834f9a5 100644
--- a/pyload/plugin/crypter/DailymotionComFolder.py
+++ b/pyload/plugin/crypter/DailymotionComFolder.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
import re
-
-from urlparse import urljoin
+import urlparse
from pyload.utils import json_loads
from pyload.plugin.Crypter import Crypter
@@ -24,7 +23,7 @@ class DailymotionComFolder(Crypter):
def api_response(self, ref, req=None):
- url = urljoin("https://api.dailymotion.com/", ref)
+ url = urlparse.urljoin("https://api.dailymotion.com/", ref)
html = self.load(url, get=req)
return json_loads(html)