title: Python scraping from a txt web-page
body: <p>I have a large txt file from a website
  <a href="https://en90.tribalwars.net/map/village.txt" rel="nofollow noreferrer">https://en90.tribalwars.net/map/village.txt</a></p>
  
  <p>These are the first few lines:</p>
  
  <p><code>1,Barbarian+village,508,538,10342642,4208,0</code> </p>
  
  <p><code>2,ckouta+village,507,542,11001011,9761,0</code></p>
  
  <p><code>3,Bonus+village,464,449,0,1513,1</code> </p>
  
  <p><code>4,Revenge+Will+Be+Sweet,501,532,9202536,9835,0</code> </p>
  
  <p><code>5,OFF,515,501,11158923,5644,0</code></p>
  
  <p>I would now like to extract the the first figure from the line that matches with a given third and fourth column. For example: given I'm looking for x = 464 and y = 449 I would want my script to return 3.</p>
  
  <p>I tried parsing the html page with beautifulsoup and then matching the correct line using regex but I cannot make this work.</p>