python - Don't Allow Website automated Redirect Scrapy -


i sorry if question incomplete or unhelpful. new @ this.

i started using scrapy scraping data. issue facing @ moment is: when try scrape data, website redirect's me particular page.

i intend stop website redirecting particular page.

to honest not sure if it's possible or not.

what have tried far is:

  1. following redirect , there using href link provided go desired page.the issue in case site follow's loop , redirects me same page.

  2. redirect_enabled = false in setting's. issue in case scrapper exit's , script stop's.

any appreciated.

thank you


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -