Skip to content

Instantly share code, notes, and snippets.

@alexgodin
Created October 24, 2024 13:32
Show Gist options
  • Save alexgodin/47d9a17a8a1a0f35148208c82e972cc3 to your computer and use it in GitHub Desktop.
Save alexgodin/47d9a17a8a1a0f35148208c82e972cc3 to your computer and use it in GitHub Desktop.
(.venv) alexgodin@Alexs-MacBook-Air ig-bot % python3 main.py #triggshorts 0
2024-10-24 09:31:26,552 - INFO - Chromedriver is already installed.
2024-10-24 09:31:26,554 - INFO - Started scraping for hashtag: #triggshorts. Scraping type 0.
2024-10-24 09:31:26,554 - INFO - Proxy settings are ready
2024-10-24 09:31:26,554 - INFO - Starting Chrome Wire WebDriver.
2024-10-24 09:31:26,555 - INFO - Using default request storage
2024-10-24 09:31:26,567 - INFO - Created proxy listening on ::ffff:127.0.0.1:53955
2024-10-24 09:31:31,151 - INFO - Loaded cookies for profile evelynmurphy74157
2024-10-24 09:31:34,656 - INFO - Capturing request: https://www.instagram.com/graphql/query
2024-10-24 09:31:34,939 - INFO - Streaming WebSocket messages between 127.0.0.1:54006 and gateway.instagram.com:443
2024-10-24 09:31:35,019 - INFO - Capturing request: https://www.instagram.com/graphql/query
2024-10-24 09:31:35,183 - INFO - Capturing response: https://www.instagram.com/graphql/query 200
2024-10-24 09:31:35,569 - INFO - Streaming WebSocket messages between 127.0.0.1:54010 and edge-chat.instagram.com:443
2024-10-24 09:31:37,782 - INFO - Capturing response: https://www.instagram.com/graphql/query 200
2024-10-24 09:31:37,927 - INFO - Capturing request: https://www.instagram.com/graphql/query
2024-10-24 09:31:38,216 - INFO - Capturing response: https://www.instagram.com/graphql/query 200
2024-10-24 09:31:38,301 - INFO - Capturing request: https://www.instagram.com/graphql/query
2024-10-24 09:31:38,441 - INFO - Capturing request: https://www.instagram.com/graphql/query
2024-10-24 09:31:38,551 - INFO - Capturing response: https://www.instagram.com/graphql/query 200
2024-10-24 09:31:38,800 - INFO - Capturing response: https://www.instagram.com/graphql/query 200
2024-10-24 09:31:39,171 - INFO - Streaming WebSocket messages between 127.0.0.1:54062 and web-chat-e2ee.instagram.com:443
2024-10-24 09:31:40,991 - INFO - Streaming WebSocket messages between 127.0.0.1:54064 and edge-chat.facebook.com:443
2024-10-24 09:31:58,432 - INFO - I found the number of posts for tag: #triggshorts, number of posts: 868.
868
2024-10-24 09:31:58,433 - INFO - Scraping completed, closing the WebDriver.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment