Skip to content

Commit

Permalink
Merge pull request #369 from fa0311/develop
Browse files Browse the repository at this point in the history
update __INITIAL_STATE__
  • Loading branch information
fa0311 authored Nov 28, 2023
2 parents 932ee21 + 1ec9f8e commit b5e0afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

# === Initial decode ===

initial_state = search_js(parsed_script_list, "window.__INITIAL_STATE__=")[0].after
initial_state = search_js_reg(parsed_script_list, "window.__INITIAL_STATE__=")[0].after
initial_output = json.loads(json_parser(initial_state))

meta_data = search_js(parsed_script_list, ";window.__META_DATA__=")[0].after
Expand Down

0 comments on commit b5e0afc

Please sign in to comment.