Commit a2897eec authored by Todd Weaver's avatar Todd Weaver
Browse files

Merge branch 'fix-api-search' into 'master'

Fix broken search

Closes #11

See merge request !9
parents 36db6edb b916b9dc
......@@ -114,7 +114,7 @@ class Instances:
# verify json has key 'formatStreams' (not 'error')
if 'formatStreams' in instance_json:
fs = instance_json['formatStreams'][0]
fs = instance_json['formatStreams'][1]
if fs['type'].startswith('video/mp4'):
confirm_video = fs['url']
self.check_video_valid(uri, confirm_video)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment