skrip untuk mengambil quaryid 1. buka google-chrome…
- User
Assistant: User: skrip untuk mengambil quary_id
- buka google-chrome --profile-directory="Erlangga" --new-window #modeheadless
disini entah bagaimana caranya cari origin=https://babydogeclikerbot.com Top-level-site=https://telegram.org is third=party Yes, because the origin is outside of the top-level site
Storage -> Session storage -> key __telegram__initParams -> value
contoh hasil { "tgWebAppData": "query_id=AAGZWj1YAAAAAJlaPVhvMaV4&user=%7B%22id%22%3A1480415897%2C%22first_name%22%3A%22HayabuQuack%20%F0%9F%86%93%22%2C%22last_name%22%3A%22%22%2C%22username%22%3A%22HayabuQuack%22%2C%22language_code%22%3A%22id%22%2C%22allows_write_to_pm%22%3Atrue%7D&auth_date=1728105309&hash=42c45d181cf0cda1c9925d7b242ed44bc6eed8118c4b1eb7a3f7a8577a189491", "tgWebAppVersion": "7.10", "tgWebAppPlatform": "web", "tgWebAppThemeParams": "{"bg_color":"#212121","button_color":"#8774e1","button_text_color":"#ffffff","hint_color":"#aaaaaa","link_color":"#8774e1","secondary_bg_color":"#181818","text_color":"#ffffff","header_bg_color":"#212121","accent_text_color":"#8774e1","section_bg_color":"#212121","section_header_text_color":"#8774e1","subtitle_text_color":"#aaaaaa","destructive_text_color":"#ff595a"}" }
ambil query_id=AAGZWj1YAAAAAJlaPVhvMaV4&user=%7B%22id%22%3A1480415897%2C%22first_name%22%3A%22HayabuQuack%20%F0%9F%86%93%22%2C%22last_name%22%3A%22%22%2C%22username%22%3A%22HayabuQuack%22%2C%22language_code%22%3A%22id%22%2C%22allows_write_to_pm%22%3Atrue%7D&auth_date=1728105309&hash=42c45d181cf0cda1c9925d7b242ed44bc6eed8118c4b1eb7a3f7a8577a189491 Assistant:
- Assistant
To extract the
query_idfrom the session storage in Google Chrome, you can use a script that automates the process using a headless browser. Here’s an approach using Python with the Selenium library: