Jarvis-Brain 0.1.7.2__py3-none-any.whl → 0.1.7.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Jarvis_Brain
3
- Version: 0.1.7.2
3
+ Version: 0.1.7.3
4
4
  Summary: Jarvis brain mcp
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: beautifulsoup4
@@ -3,9 +3,9 @@ mcp_tools/dp_tools.py,sha256=LT2x9edWmmDqNoy66zPgwjUSLpYbMPUPluvDoAXs0FU,10421
3
3
  mcp_tools/main.py,sha256=Fdt2N3oKGwvruuno_ywnuWSlm1BexE9ZY669H2LTo9w,1056
4
4
  tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  tools/browser_manager.py,sha256=EXM7n-sDOtdQGpWkVTAZHWhepVU-7PAoUTDNgGF9_fQ,1938
6
- tools/browser_proxy.py,sha256=yVTRpZA0IGLsL2Bl6zN_4hMdx2lX9UaMx5O6DPlrGRg,6333
6
+ tools/browser_proxy.py,sha256=ii4GCKOU-R6Uoj1I3k4RMqtuLOiddd4WAjG5WGc51F8,6359
7
7
  tools/tools.py,sha256=TaWs-CNXy-py9BFmCnJrQ09ke938xXpImf-N2Qo_Rvc,4708
8
- jarvis_brain-0.1.7.2.dist-info/METADATA,sha256=_j2fYANuNrAtnMwBnttjNSZ9z2vq7CDbjHS5LNnzKmQ,241
9
- jarvis_brain-0.1.7.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
10
- jarvis_brain-0.1.7.2.dist-info/entry_points.txt,sha256=YFQT4xpkUqt5dM5wlKPQQOqcjMuFrT9iuRAzIpAyH7U,51
11
- jarvis_brain-0.1.7.2.dist-info/RECORD,,
8
+ jarvis_brain-0.1.7.3.dist-info/METADATA,sha256=62mF8nqQZcrtOJtlTzUODlHGpUvpg9FcuisQDAtnwIs,241
9
+ jarvis_brain-0.1.7.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
10
+ jarvis_brain-0.1.7.3.dist-info/entry_points.txt,sha256=YFQT4xpkUqt5dM5wlKPQQOqcjMuFrT9iuRAzIpAyH7U,51
11
+ jarvis_brain-0.1.7.3.dist-info/RECORD,,
tools/browser_proxy.py CHANGED
@@ -148,16 +148,16 @@ def check_data_packet(packet: DataPacket, client: DPProxyClient):
148
148
 
149
149
  client_manager = DPProxyClientManager()
150
150
 
151
- if __name__ == '__main__':
152
- co = ChromiumOptions().set_user_agent(
153
- "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Mobile Safari/537.36")
154
- tab = ChromiumPage(co).latest_tab
155
- client = DPProxyClient(tab, self_kill=False)
156
- # client = CaptchaClient(tab, self_kill=True)
157
- tab = client.get_driver(True)
158
- url = "https://api.toutiaoapi.com/feoffline/hotspot_and_local/html/hot_list/index.html?client_extra_params=%7B%22custom_log_pb%22%3A%22%7B%5C%22style_id%5C%22%3A%5C%2240030%5C%22%2C%5C%22entrance_hotspot%5C%22%3A%5C%22search%5C%22%2C%5C%22location%5C%22%3A%5C%22hot_board%5C%22%2C%5C%22category_name%5C%22%3A%5C%22hotboard_light%5C%22%7D%22%7D&count=50&log_pb=%7B%22style_id%22%3A%2240030%22%2C%22entrance_hotspot%22%3A%22search%22%2C%22location%22%3A%22hot_board%22%2C%22category_name%22%3A%22hotboard_light%22%7D&only_hot_list=1&tab_name=stream&enter_keyword=%23%E7%BE%8E%E5%9B%BD%E9%80%80%E5%87%BA66%E4%B8%AA%E5%9B%BD%E9%99%85%E7%BB%84%E7%BB%87%23"
159
- tab.get(url)
160
- for _ in range(5056):
161
- new_packet = client.pop_first_packet()
162
- print(new_packet, "23")
163
- time.sleep(1)
151
+ # if __name__ == '__main__':
152
+ # co = ChromiumOptions().set_user_agent(
153
+ # "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Mobile Safari/537.36")
154
+ # tab = ChromiumPage(co).latest_tab
155
+ # client = DPProxyClient(tab, self_kill=False)
156
+ # # client = CaptchaClient(tab, self_kill=True)
157
+ # tab = client.get_driver(True)
158
+ # url = "https://api.toutiaoapi.com/feoffline/hotspot_and_local/html/hot_list/index.html?client_extra_params=%7B%22custom_log_pb%22%3A%22%7B%5C%22style_id%5C%22%3A%5C%2240030%5C%22%2C%5C%22entrance_hotspot%5C%22%3A%5C%22search%5C%22%2C%5C%22location%5C%22%3A%5C%22hot_board%5C%22%2C%5C%22category_name%5C%22%3A%5C%22hotboard_light%5C%22%7D%22%7D&count=50&log_pb=%7B%22style_id%22%3A%2240030%22%2C%22entrance_hotspot%22%3A%22search%22%2C%22location%22%3A%22hot_board%22%2C%22category_name%22%3A%22hotboard_light%22%7D&only_hot_list=1&tab_name=stream&enter_keyword=%23%E7%BE%8E%E5%9B%BD%E9%80%80%E5%87%BA66%E4%B8%AA%E5%9B%BD%E9%99%85%E7%BB%84%E7%BB%87%23"
159
+ # tab.get(url)
160
+ # for _ in range(5056):
161
+ # new_packet = client.pop_first_packet()
162
+ # print(new_packet, "23")
163
+ # time.sleep(1)