Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35494
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <donarb@nwlink.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; '%s"': 0.07; '21,': 0.07; 'subject:help': 0.07; 'expression:': 0.09; 'friday,': 0.09; 'skip:" 80': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr :python-list': 0.10; 'bracket': 0.16; 'skip:> 20': 0.16; 'wrote:': 0.17; 'cc:2**0': 0.23; 'errors': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'select': 0.26; 'subject:/': 0.28; 'december': 0.32; 'received:google.com': 0.34; 'received:209.85': 0.35; 'received:209': 0.37; 'received:209.85.216': 0.37; 'subject:: ': 0.38; 'skip:/ 30': 0.91 |
| Newsgroups | comp.lang.python |
| Date | Tue, 25 Dec 2012 11:15:23 -0800 (PST) |
| In-Reply-To | <b36b317d-01e6-4a88-9f2c-7506d41bc480@googlegroups.com> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=74.61.37.162; posting-account=j77mzQ8AAAANT_vs79yTKlJVSM4DQEXi |
| References | <e180db33-272f-4a9d-bc1e-231f3c3580bf@googlegroups.com> <mailman.1169.1356125659.29569.python-list@python.org> <b36b317d-01e6-4a88-9f2c-7506d41bc480@googlegroups.com> |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| X-Google-IP | 74.61.37.162 |
| MIME-Version | 1.0 |
| Subject | Re: Scrapy/XPath help |
| From | donarb <donarb@nwlink.com> |
| To | comp.lang.python@googlegroups.com |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Message-ID | <mailman.1271.1356462933.29569.python-list@python.org> (permalink) |
| Lines | 13 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1356462933 news.xs4all.nl 6949 [2001:888:2000:d::a6]:47140 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:35494 |
Show key headers only | View raw
On Friday, December 21, 2012 1:58:47 PM UTC-8, Always Learning wrote:
> The errors I get are
> >>File "C:\python27\lib\site-packages\scrapy-0.16.3-py2.7.egg\scrapy\selector\lxmlsel.py", line 47, in select
>
> >>raise ValueError("Invalid XPath: %s" % xpath)
>
> >>exceptions.ValueError: Invalid XPath: /span[@class='team-name'/text()
>
You're missing a right bracket in the xpath expression:
/span[@class='team-name']/text()
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Scrapy/XPath help Always Learning <cbrowning@ou.edu> - 2012-12-21 13:21 -0800
Re: Scrapy/XPath help Grant Rettke <grettke@acm.org> - 2012-12-21 15:34 -0600
Re: Scrapy/XPath help Always Learning <cbrowning@ou.edu> - 2012-12-21 13:58 -0800
Re: Scrapy/XPath help Dave Angel <d@davea.name> - 2012-12-21 22:18 -0500
Re: Scrapy/XPath help donarb <donarb@nwlink.com> - 2012-12-25 11:15 -0800
Re: Scrapy/XPath help donarb <donarb@nwlink.com> - 2012-12-25 11:15 -0800
Re: Scrapy/XPath help Always Learning <cbrowning@ou.edu> - 2012-12-21 13:58 -0800
csiph-web