scrapy-shell

Getting error when sending request to a website using Scrapy shell

Getting error when sending request to a website using Scrapy shell Question: I was learning Scrapy framework. I tried to use scrapy shell. There I was trying to fetch response from "https://quotes.toscrape.com/". The commands are below- python -m scrapy shell Inside the shell– >> from scrapy import Request >> req = Request("https://quotes.toscrape.com/") >> fetch(req) Then …

Total answers: 2

Scrape the feature image from this website but it returns this `data:image/gif

Scrape the feature image from this website but it returns this `data:image/gif Question: Using Scrapy and Scrapy shell in python to scrape the feature image from this website https://www.thrillist.com/travel/nation/all-the-ways-to-cool-off-in-austin but it returns this data:image/gif;base64,R0 instead of src of the image, I need the help of someone if any one tell me the way to fix …

Total answers: 2

Scrapy – Retrieve Authentication Token from javascript script response

Scrapy – Retrieve Authentication Token from javascript script response Question: I need help about this specific scenario. Scenario Calling site http://www.example.com/index.php I can get this information from <script> tag https://www.example.com/anotherpage.php?key=ABCDFG using the key , I have to call this endpoint https://www.example.com/login.php?key=ABCD for retrieving the SessionID which is stored inside the javascript response — omitted private._sessID=’MYSESSIONID’; …

Total answers: 1