Skip to content Skip to sidebar Skip to footer
Showing posts with the label Scrapy

Normalize-space Just Works With Xpath Not Css Selector

i am extracting data using scrapy and python. the data sometimes include spaces. i was using normal… Read more Normalize-space Just Works With Xpath Not Css Selector

Using Threads Within A Scrapy Spider

Is it possible to use multiple threads within a scrapy spider? For example lets say i have built a … Read more Using Threads Within A Scrapy Spider

Scrapy Importerror: No Module Named Item

I know that this question was already widely discussed, but I didn't find an answer. I'm ge… Read more Scrapy Importerror: No Module Named Item

Scrapy, How To Separate Text Within A Html Tag Element

Code containing my data: Solution 1: I would select all <td valign="top"> … Read more Scrapy, How To Separate Text Within A Html Tag Element

Pagination Using Scrapy

I'm trying to crawl this website: http://www.aido.com/eshop/cl_2-c_189-p_185/stationery/pens.ht… Read more Pagination Using Scrapy

Getting Error: Dll Load Failed: The Operating System Cannot Run %1 - Python 2.7; Scrapy Module; Importing Cryptography

I cannot successfully run the first command in the Scrapy tutorial (http://doc.scrapy.org/en/latest… Read more Getting Error: Dll Load Failed: The Operating System Cannot Run %1 - Python 2.7; Scrapy Module; Importing Cryptography

How Can I Log Into Website And Do Stuff In Python

I have read this question but i am using something different, How can I log into a website using p… Read more How Can I Log Into Website And Do Stuff In Python

How To Send Javascript And Cookies Enabled In Scrapy?

I am scraping a website using Scrapy which require cooking and java-script to be enabled. I don'… Read more How To Send Javascript And Cookies Enabled In Scrapy?

Scrapy Crawler Spider Doesn't Follow Links

For this, I used example in Scrapy crawl spider example: http://doc.scrapy.org/en/latest/topics/spi… Read more Scrapy Crawler Spider Doesn't Follow Links

Scrapy Yield A Request, Parse In The Callback, But Use The Info In The Original Function

So I'm trying to test some webpages in scrapy, my idea is to yield a Request to the URLS that s… Read more Scrapy Yield A Request, Parse In The Callback, But Use The Info In The Original Function

Why Is Scrapy Skipping Some Url's But Not Others?

I am writing a scrapy crawler to grab info on shirts from Amazon. The crawler starts on an amazon p… Read more Why Is Scrapy Skipping Some Url's But Not Others?

Mac Os X El Capitan - Scrapy/python Importerror: Cannot Import Name Xmlrpc_client

I am trying to use Scrapy on Mac OS X El Capitan. I have zsh installed and I have tried everything … Read more Mac Os X El Capitan - Scrapy/python Importerror: Cannot Import Name Xmlrpc_client

Splash Lua Script To Do Multiple Clicks And Visits

I'm trying to crawl Google Scholar search results and get all the BiBTeX format of each result … Read more Splash Lua Script To Do Multiple Clicks And Visits

Parse Xpath From Xml File Should Contain '

this is my xml file i parse it like this: self.doc=etree.parse(xmlFile) masterI Solution 1: In X… Read more Parse Xpath From Xml File Should Contain '

Python Logical Operation

I'm pretty new to python and I'm working on a web scraping project using the Scrapy library… Read more Python Logical Operation

Scrapy On Arabic Letters Returns Something Strange

I am using scrapy on arabic letters and english letters. The english letters work perfectly. Howev… Read more Scrapy On Arabic Letters Returns Something Strange

How To Get Contents Of Html Script Tag

I'm trying to scrape the geo data from a URL for my scraping practice. But I'm having troub… Read more How To Get Contents Of Html Script Tag

Scrapy Ignoring Content After # Tag In The Url

Hi i am scraping a site which has the URl like below http://www.example.com/categories-Mobile-Phone… Read more Scrapy Ignoring Content After # Tag In The Url

One Spider With 2 Different Url And 2 Parse Using Scrapy

Hi I have 2 different domain with 2 different approach running in one spider I have tried this code… Read more One Spider With 2 Different Url And 2 Parse Using Scrapy

Attributeerror: 'module' Object Has No Attribute 'asyncoreconnection'

I am using scrapy-rabbitmq to fetch the url from RabbitMQ into my scrapy.I am using the following i… Read more Attributeerror: 'module' Object Has No Attribute 'asyncoreconnection'