kopia lustrzana https://github.com/iv-org/mocks
regenerate with new optimizations
rodzic
767f4c0634
commit
06317cf3cc
10
generate.py
10
generate.py
|
@ -73,11 +73,11 @@ for file in files:
|
|||
video = json.loads(run_yt_helper_script("-c", "web", "-e", file['endpoint'], "--data", context))
|
||||
|
||||
# Delete some useless elements
|
||||
del video['responseContext']
|
||||
if 'topbar' in video: del video['topbar']
|
||||
if 'overlay' in video: del video['overlay']
|
||||
if 'attestation' in video: del video['attestation']
|
||||
if 'frameworkUpdates' in video: del video['frameworkUpdates']
|
||||
del video["responseContext"]
|
||||
if "topbar" in video: del video["topbar"]
|
||||
if "overlay" in video: del video["overlay"]
|
||||
if "attestation" in video: del video["attestation"]
|
||||
if "frameworkUpdates" in video: del video["frameworkUpdates"]
|
||||
|
||||
|
||||
processed_mocks = apply_ip_replacements(json.dumps(video, indent=2))
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Plik diff jest za duży
Load Diff
File diff suppressed because one or more lines are too long
Ładowanie…
Reference in New Issue