Adrián Chaves
f30f53b3cc
Scrapinghub → Zyte
2021-02-02 15:03:20 +01:00
Ammar Najjar
58ca8bbf6d
Use f-strings ( #4307 )
2020-08-26 07:11:05 +02:00
Adrián Chaves
4ee538e44b
Update unicode references from Python 2 times in the documentation ( #4703 )
2020-08-04 20:34:11 +02:00
Adrián Chaves
890b2138a6
Remove the u prefix from strings
2020-07-30 13:39:30 +02:00
Aditya
f37b1bdc56
[docs] update redirect links to python3
2020-03-20 05:31:41 +05:30
Aditya
ca08e04198
[docs] update redirect links python2 -> python3
2020-03-20 02:31:35 +05:30
nyov
a34c366fa4
DOC linkcheck run; https and 301 link updates.
...
Closes #4359
2020-02-25 16:51:33 +00:00
Akshay Sharma
182445f9d9
Fix a spelling error: ie. → i.e. ( #4338 )
2020-02-18 17:58:31 +01:00
Adrián Chaves
83b8046fdc
Do not indent doctests from the documentation unnecessarily
2019-12-05 13:52:31 +01:00
Marc Hernández
70aa5b1333
Fix numeration
2019-03-20 15:32:20 +01:00
Adrián Chaves
75d6f56c8a
Switch from ` to `` where inline code formatting is desired
2019-03-01 16:56:58 +01:00
Daniel Graña
65d631329a
Be consistent with domain used for links to documentation website
2019-01-31 01:28:53 -03:00
Mikhail Korobov
ffbd33edac
DOC mention gotcha with `foo::text` selector and empty `foo` elements
...
also, move "Selecting attributes" reference closer to `a::atr(href)` example
2018-09-18 05:03:35 +05:00
Mikhail Korobov
2c3b2158c9
DOC address @stummjr's review comments
...
* fixed several small issues
* re-written "Creating Selectors" section
* fixed remaining .extract usage in tests
2018-09-18 05:02:17 +05:00
Mikhail Korobov
9db21e5502
DOC fix remove_namespaces example
...
See https://github.com/scrapy/parsel/pull/119
2018-09-15 02:43:37 +05:00
Mikhail Korobov
dc95ecbe25
DOC use autodocs for selectors; document more methods and attributes; suggest get/getall
2018-09-12 18:36:25 +05:00
Mikhail Korobov
7fdfdb7fa2
DOC reorganize selectors tutorial, port more topics from parsel docs, adjust wording in the introduction
2018-09-12 17:57:27 +05:00
Mikhail Korobov
2c48d156db
DOC cleanup references in tutorials:
...
* remove unused link
* fix ReST syntax
* fix a link to regular expression docs
2018-09-12 17:57:27 +05:00
Mikhail Korobov
d32c4deaa9
DOC update Scrapy selectors tutorial to match parsel's tutorial better
2018-09-12 17:57:27 +05:00
Mikhail Korobov
0ccead6681
DOC more Python 3 in examples
2018-09-12 17:57:27 +05:00
Aditya
9d9d83a8c3
Use https links wherever possible
2017-10-28 16:24:40 +05:30
Aditya
9dd680d5c9
Use https for external links wherever possible in docs
2017-10-26 23:33:45 +05:30
Mikhail Korobov
9731077a54
Merge pull request #2683 from harshasrinivas/docs-SelectorList
...
[MRG+1] Remove __nonzero__ from SelectorList docs
2017-04-12 21:25:00 +05:00
Paul Tremberth
422b38f65c
DOC Rearrange selector sections
2017-04-11 16:55:43 +02:00
harshasrinivas
2ff6b05723
Remove __nonzero__ from SelectorList docs
2017-03-24 20:43:28 +05:30
Paul Tremberth
d205206aaa
Merge pull request #2345 from gustavodeandrade/master
...
[MRG+1] Fix documentation about HTML entities decoding with selector extraction
2017-02-08 13:21:15 +01:00
Paul Tremberth
1c0b805357
DOC Mention XPath variables in Selectors section
2017-02-02 17:44:57 +01:00
Gustavo de Andrade
f2e49bc23c
Update selectors.rst
...
Decode instead escape, exceptions < and & (kmike)
Second sentence droped (Digenis)
2016-11-01 21:32:17 -02:00
gustavodeandrade
c7dfb5eb88
Fix issue 1704
2016-10-21 00:08:08 -02:00
Panayiotis Lipiridis
3f8be374c3
Github >> GitHub
2016-05-09 16:15:18 +02:00
Paul Tremberth
1075587dbd
Add support for Sphinx 1.4
...
See http://www.sphinx-doc.org/en/stable/changes.html#release-1-4-released-mar-28-2016
sphinx_rtd_theme has become optional, needs to be added to reqs
https://github.com/sphinx-doc/sphinx/pull/2320 changes node entries tuples
to 5 values instead of 4
`sh` syntax highlighting added very locally in selectors.rst
because of this warning/error with Sphinx 1.4:
```
Warning, treated as error:
/home/paul/src/scrapy/docs/topics/selectors.rst:743:
WARNING: Could not lex literal_block as "python". Highlighting skipped.
```
2016-03-30 14:40:52 +02:00
Lele
7082454f2a
Changed sel. to response. for clarity
...
Changed sel. to response. to comply with the rest of the examples in the same section, to avoid confusion.
2016-03-28 05:27:15 +05:00
nyov
5876b9aa30
Update documentation links
2016-03-03 16:28:33 +00:00
David Chen
0025d5a943
Fixed minor grammar issues.
2015-11-16 07:30:17 +08:00
hoatle
2869cf8dde
fix another invalid xpath error
2015-10-07 16:03:43 +07:00
Hoat Le
4e66955411
fix ValueError: Invalid XPath: //div/[id="not-exists"]/text() on selectors.rst
...
>>> response.xpath('//div/[id="not-exists"]/text()').extract_first() is None
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/home/vagrant/.virtualenvs/scrapy/lib/python2.7/site-packages/scrapy/http/response/text.py", line 109, in xpath
return self.selector.xpath(query)
File "/home/vagrant/.virtualenvs/scrapy/lib/python2.7/site-packages/scrapy/selector/unified.py", line 100, in xpath
raise ValueError(msg if six.PY3 else msg.encode("unicode_escape"))
ValueError: Invalid XPath: //div/[id="not-exists"]/text()
2015-10-07 15:43:02 +07:00
Bryan Crowe
6a4c475e87
Fix a couple typos
2015-06-11 19:47:30 -04:00
Mikhail Korobov
cc2258b2bb
Merge pull request #1145 from bosnj/master
...
[MRG+1] default return value for extract_first
2015-05-21 22:03:54 +05:00
Julia Medina
c271d8f0b1
Title underline too short in docs/topics/selectors.rst
2015-05-09 05:20:54 -03:00
bosnj
8ae05478be
added docs and test case, fixed handling empty string vs None
2015-05-04 21:22:17 +02:00
Elias Dorneles
3d3633f3d2
favoring web scraping over screen scraping in the descriptions
2015-04-25 11:20:20 -03:00
bagratte
beea9267a1
minor corrections in documentation.
2015-04-18 19:48:25 +04:00
Daniel Graña
f71175a449
More replaces of references to old `sel` shortcut
2015-04-12 21:56:23 -03:00
Julia Medina
959aaad205
Document `re_first`
2015-03-18 21:11:08 -03:00
Mateusz Golewski
127c6c694a
Fix extract_first() docs
2015-03-18 21:11:08 -03:00
Mateusz Golewski
012211accd
Add docs for extract_first()
2015-03-18 21:11:08 -03:00
Shadab Zafar
5a58d64131
Fix some redirection links in documentation
...
Fixes #606
2015-03-18 19:41:26 -03:00
Elias Dorneles
c298eaf164
removes weird indentation in the shell results
2014-07-23 20:42:36 -03:00
Elias Dorneles
514e8582d0
improved explanations, clarified blog post as source, added link for XPath string functions in the spec
2014-07-23 19:43:57 -03:00
Elias Dorneles
80de43ddab
adding some xpath tips to selectors docs
2014-07-22 23:20:53 -03:00