Commits

Anonymous committed 0d9e38e

validate dailymotion channel existence

Comments (0)

Files changed (1)

podcaster/platforms/dailymotion/comp.py

             return None
         data = json.loads(resp)
 
+        if not data['list'] and not data['has_more']:
+            # No data == no channel
+            return None
+
         videos = []
         feed_title = "Uploads by %s" % username
         for v in data['list']: