Skip to content
Snippets Groups Projects
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 todd/Stream!9
parents 36db6edb b916b9dc
No related branches found
No related tags found
1 merge request!9Fix broken search
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment