title: IndexError - Works on Hombrew terminal but not on PythonAnywhere
body: <p>Hello everyone I have a python code that works on my hombrew terminal by setting up a virtual envitoment. This is how it looks like</p>
  
  <pre><code>python3 -m venv env
  source ./env/bin/activate
  (env) python bandcamp_scrape.py
  </code></pre>
  
  <p>And it works great! However Im trying to do the same thing on <a href="https://www.pythonanywhere.com/" rel="nofollow noreferrer">https://www.pythonanywhere.com/</a> so I can automate the script daily it gives me weird errors and i dont know how to figure it out? Why does it work on my computer but not on pythonanywhere?</p>
  
  <pre><code>03:37 ~ $ python3 -m venv env
  03:37 ~ $ source ./env/bin/activate 
  (env) 03:37 ~ $ python bandcamp_scrape.py
  Traceback (most recent call last):
    File "bandcamp_scrape.py", line 72, in &lt;module&gt;
      forum_login("Yakov", "test")
    File "bandcamp_scrape.py", line 15, in forum_login
      nonce = root.xpath("//input[@type='hidden' and not(@name='hash_passwrd')]")[0]
  IndexError: list index out of range
  </code></pre>