Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8985755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:23:42+00:00 2026-06-15T21:23:42+00:00

i am using scrapy 0.14 bellow is my code start_urls = [‘http://lakebagger.com/ur/’] def parse(self,

  • 0

i am using scrapy 0.14

bellow is my code

start_urls = ['http://lakebagger.com/ur/']

def parse(self, response):
    hxs = HtmlXPathSelector(response)
    stores=hxs.select('//table[@id]//tr')
    print len(stores)

i am unable to access rows (tr) in tbody , rather then that i can only access thead row. how can i access the rows ?

thanks in advance . looks like HtmlXpathSelector is unable to rander xpath accurately

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T21:23:44+00:00Added an answer on June 15, 2026 at 9:23 pm

    At this point, I would say that it’s environmental, albeit not an OS issue, since I managed to get a similar script to work on Windows 7. What are the results of typing "pip freeze"?

    Mine:

    Scrapy==0.16.2
    Twisted==12.2.0
    distribute==0.6.32
    egenix-pyopenssl==0.13.0-1.0.0g-1
    lxml==3.0.1
    pyOpenSSL==0.9
    pywin32==216
    w3lib==1.2
    zope.interface==3.8.0
    

    Also, I really do think you should post your full spider code for examination since there may be something in the missing lines that is causing the issue.

    EDIT: Based on your comments, this could be related to versions since you’re running 0.14. Have you considered upgrading?

    Note: I followed these steps to install scrapy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an issue using scrapy yield Request(a_url[0], meta={'item': aitem}, dont_filter=True, callback=self.redeem_url, errback=self.error_page) def
I am trying to parse sitemap.xml files using scrapy, the sitemap files are like
I'm using scrapy to crawl multiple pages on a site. The variable start_urls is
I'm new with using scrapy and i'm trying to get some info from a
I am using scrapy to scrap a site I had written a spider and
I'm having a problem iterating a crawl using scrapy. I am extracting a title
Trying to install Scrapy on Mac OSX 10.6 using this guide : When running
I am currently trying to do a screen scrape using the following code: HttpWebRequest
I am using scrapy to crawl all the web pages under a domain. I
I have virtualenv with --no-site-packages option. I'm using scrapy in it. Scrapy uses libxml2

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.