File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 "TQDM_DISABLE" : " False" ,
2626 "LOGGING_LEVEL" : " Into" ,
2727 "CACHE" : " True" ,
28- "GRAPHQL_CACHE" : " True"
28+ "GRAPHQL_CACHE" : " True" ,
29+ "PYDEVD_CONTAINER_RANDOM_ACCESS_MAX_ITEMS" : " 1000000"
2930 }
3031 },
3132 {
4445 "TQDM_DISABLE" : " False" ,
4546 "LOGGING_LEVEL" : " Into" ,
4647 "CACHE" : " True" ,
47- "GRAPHQL_CACHE" : " True"
48+ "GRAPHQL_CACHE" : " True" ,
49+ "PYDEVD_CONTAINER_RANDOM_ACCESS_MAX_ITEMS" : " 1000000"
4850 }
4951 }
5052 ]
51- }
53+ }
Original file line number Diff line number Diff line change 7474
7575script_load_data = search_js_reg (parsed_script_list , "Promise.all" )[0 ].after
7676script_load_json = json .loads (json_parser (script_load_data ))
77+
78+
79+ script_key_data = search_js_reg (parsed_script_list , "a.js" )[0 ].before
80+ script_key_json = json .loads (json_parser (script_key_data ))
81+
7782script_load_output = {}
7883base_url = "https://abs.twimg.com/{0}/client-web/" .format (twitter .CLIENT )
7984
8287 script_load_url = json .loads (read (f"{ output_dir } { FileConf .SCRIPT_LOAD_JSON } " ))
8388else :
8489 script_load_url = {
85- k : "{0}{1}.{2}a.js" .format (base_url , k , script_load_json [k ])
90+ script_load_json [k ]: "{0}{1}.{2}a.js" .format (
91+ base_url , script_load_json [k ], script_key_json [k ]
92+ )
8693 for k in script_load_json
8794 }
8895
You can’t perform that action at this time.
0 commit comments