Skip to content
Krishna Nimbalkar edited this page Jun 4, 2023 · 5 revisions

Welcome to the Auto-Connect wiki!


Date: 28/01/2023

Problem I faced

I want to connect with people on LinkedIn, specifically with those who have done google cloud certifications. connecting with each individual who cleared GCP certifications is kind of a tough task and sending them requests is time-consuming and requires a lot of searches. So as usual I thought we will automate this task using python.


Date: 30/01/2023

  1. Some unusual behavior of a webpage URL = 'https://googlecloudcertified.credential.net/' ==> need to do more research about Web scraping and its limitations.

Date: 04/06/2023

Problems and Solutions in Web Scraping: ChatGPT to rescue 💯

Problems and Solutions:

  1. Problem: Content not loaded in the response. Solution: Switched to using a headless browser like Selenium to interact with dynamically loaded content.

  2. Problem: "Error parsing cert retrieved from AIA" and "Couldn't read tbsCertificate as SEQUENCE" errors. Solution: Investigate the cause of the parsing errors and validate the certificate being used.

  3. Problem: "ConnectionRefusedError" when making requests. Solution: Wrap requests in a try-except block and handle the exception appropriately, such as retrying the request or logging the error.

  4. Problem: Receiving a 999 response code. Solution: Use a proxy, adjust request headers, introduce delays, or employ CAPTCHA-solving services to bypass security measures.

  5. Problem: Receiving 429 (Too Many Requests) and 405 (Method Not Allowed) response codes. Solution: Add delays between requests and modify request headers to mimic browser behavior, avoiding rate limits and method restrictions.

  6. Problem: The server still returning a 999 response code. Solution: Try additional techniques like rotating IP addresses or utilizing proxy servers to avoid being blocked.

  7. Problem: Need to implement session handling. Solution: Utilize the requests.Session() object to maintain connection and cookies between requests, simulating a natural browsing experience.