i am new in python web scraping, i have the problem in python doing web scraping. In my case, i want to scrape the url as 'http://www.x.x.x/abc/abc.aspx', but i don't know why if i enter this url on the browser, first time, the url will be redirected to the homepage of the website, and the url will become ' http://www.x.x.x/abc/index.aspx?aspxerrorpath=/abc/abc.aspx ', and enter url 'http://www.x.x.x/abc/abc.aspx' again can display the right content, and the problem is when i scrape this url 'http://www.x.x.x/abc/abc.aspx' everytime, the content also go to the index page. the code as the following:
Aucun commentaire:
Enregistrer un commentaire