title: Web-scraping the audio and related text form ganjoor site by colab as Persian Speech to text database
body: <p>I have tried to gather some audio form <a href="https://ganjoor.net/hafez/ghazal/sh1/" rel="nofollow noreferrer">ganjoor site</a> to gather Audio files with its texts like those contents that is reading by ... shown below:</p>
  <p><img src="https://i.stack.imgur.com/rV1Eg.png" alt="enter image description here" /></p>
  <p>By using the google colab, so i have tried different method via this coalb :</p>
  <p><a href="https://colab.research.google.com/drive/1ntSbqv6iSrNt2F8eyWTvao5ED9Ot0szi?usp=sharing" rel="nofollow noreferrer">https://colab.research.google.com/drive/1ntSbqv6iSrNt2F8eyWTvao5ED9Ot0szi?usp=sharing</a></p>
  <p>And I get this kind of errors that you can see at above colab page:</p>
  <p><img src="https://i.stack.imgur.com/Yjn3c.png" alt="enter image description here" /></p>
  <pre><code>/usr/local/lib/python3.6/dist-packages/ipykernel_launcher.py:29: DeprecationWarning: use options instead of chrome_options
  ---------------------------------------------------------------------------
  WebDriverException                        Traceback (most recent call last)
  &lt;ipython-input-27-c4b1e303b5e7&gt; in &lt;module&gt;()
       28 
       29 wd = webdriver.Chrome('chromedriver', chrome_options=options)
  ---&gt; 30 wd.get(url)
       31 print(wd.page_source)  # re
  
  2 frames
  /usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/errorhandler.py in check_response(self, response)
      240                 alert_text = value['alert'].get('text')
      241             raise exception_class(message, screen, stacktrace, alert_text)
  --&gt; 242         raise exception_class(message, screen, stacktrace)
      243 
      244     def _value_or_default(self, obj, key, default):
  
  WebDriverException: Message: unknown error: net::ERR_CONNECTION_TIMED_OUT
    (Session info: headless chrome=85.0.4183.83)
  </code></pre>
  <p>or
  <img src="https://i.stack.imgur.com/ja0qW.png" alt="enter image description here" /></p>
  <pre><code>onnectionError: HTTPSConnectionPool(host='ganjoor.net', port=443): Max retries exceeded with url: /hafez/ghazal/sh1/ (Caused by NewConnectionError('&lt;urllib3.connection.VerifiedHTTPSConnection object at 0x7f6e23c5c8d0&gt;: Failed to establish a new connection: [Errno 110] Connection timed out',))
  </code></pre>
  <p>So my guess is that this kind of web-scraping needs some proper agent header setting or using some proxy in the setting, and I don't know which header is proper and or what proxy sites or free vpn provider is exist and ...</p>
  <p><strong>Update:</strong></p>
  <p>According to answer of <strong>@baduker</strong>, it seams that there is some problem with colab to connect the <a href="https://ganjoor.net" rel="nofollow noreferrer">https://ganjoor.net</a> site and its showing that error again (the <strong>@baduker</strong> codes added to the <a href="https://github.com/So-AI-love/Persian-text-to-speech/blob/master/Webscraping_ganjor_audio.ipynb" rel="nofollow noreferrer">related GitHub colab notebooks page</a>:</p>
  <p><a href="https://i.stack.imgur.com/FbM8l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FbM8l.png" alt="enter image description here" /></a></p>
  <p>I would be very grateful if you could scrape one audio with its related texts from the ganjoor site, as one example.</p>
  <p>Thanks.</p>