MCPcopy Create free account
hub / github.com/pyload/pyload / video_valid

Method video_valid

module/plugins/hoster/ZDF.py:33–35  ·  view source on GitHub ↗
(video)

Source from the content-addressed store, hash-verified

31
32 @staticmethod
33 def video_valid(video):
34 return video.findtext("url").startswith("http") and video.findtext("url").endswith(".mp4") and \
35 video.findtext("facets/facet").startswith("progressive")
36
37 @staticmethod
38 def get_id(url):

Callers 1

processMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected