Commits

droodle  committed 0d9e38e

validate dailymotion channel existence

  • Participants
  • Parent commits 9ceefe9

Comments (0)

Files changed (1)

File 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']: