Adrián Chaves
431f6e7d90
Merge branch 'master' into patch-1
2020-03-01 18:17:18 +01:00
MaliCN
ef00f8eb8e
updated with new macOS name ( #4308 ) ( #4323 )
...
* changed for new name as "macOS" (issue #4308 )
* updated macOS name
* update macOS name
* updated macOS name
* update for new macOS name
* docs/intro/install.rst: fix macOS header symbols
Co-Authored-By: elacuesta <elacuesta@users.noreply.github.com>
Co-authored-by: Adrián Chaves <adrian@chaves.io>
Co-authored-by: elacuesta <elacuesta@users.noreply.github.com>
2020-02-29 00:42:07 +05:00
Adrián Chaves
231c9ddef8
Update docs/intro/install.rst
2020-02-28 18:50:45 +01:00
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
leobalestri
6d6243afbb
Update install.rst
...
Minor grammar and typo fixes
2020-02-16 23:45:41 -08:00
Adrián Chaves
59653ebac6
Update installation instructions regarding Python 3 and virtual environments
2020-02-07 21:07:57 +01:00
Peter Vandenabeele
f3374a5047
Fix variable name `author_page_links`
...
I did not test this code, but the change from `href` to this
author_page_links seems to have a typo ?
2020-01-25 16:53:29 +01:00
Eugenio Lacuesta
c75cf15b7a
Update CSS selectors in tutorial
2020-01-22 10:38:59 -03:00
Eugenio Lacuesta
2e405d2d5c
Merge branch 'master' into response_follow_all
2020-01-05 00:33:19 -03:00
Mikhail Korobov
f0ae673452
Merge pull request #4258 from atul-g/patch-1
...
Edited the link provided to homepage of lxml's website
2019-12-30 00:55:15 +05:00
Atul Gopinathan
82861c73c8
Edited the link of the homepage of lxml website
...
The link "https://lxml.de " is redirecting to a completely different and unintended website. I changed the link to the index page of lxml's official website. I thought of changing it to the PyPi page of lxml, but even they are providing the same "https://lxml.de " link which doesn't seem to be working now.
2019-12-27 22:57:58 +05:30
Mikhail Korobov
6a32a36e09
Merge pull request #4143 from Gallaecio/undent-rst-doctests
...
Do not indent doctests from the documentation unnecessarily
2019-12-20 01:59:07 +05:00
Marc Hernandez Cabot
23a67cec27
fix first letter capitalization for Raring and Scrapy
2019-12-19 09:57:17 +01:00
Eugenio Lacuesta
21a2f8c6f8
Merge branch 'master' into response_follow_all
2019-12-10 17:30:59 -03:00
Adrián Chaves
83b8046fdc
Do not indent doctests from the documentation unnecessarily
2019-12-05 13:52:31 +01:00
Wang Qin
af624ef414
Update overview.rst | Fix an inconsistency
...
There exists an inconsistency between the code (line 37 - 38) and the output 'quotes.json' (line 56 - 68).
Note that even though according to line 53 - 54 'quotes.json' is "reformatted here for better readability", it cannot explain why the "author" field precedes the "text" field.
Intended output for the code BEFORE change:
[{
"text": "\u201cThe person, be it gentleman or lady, who has not pleasure in a good novel, must be intolerably stupid.\u201d",
"author": "Jane Austen"
},
{
"text": "\u201cOutside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.\u201d",
"author": "Groucho Marx"
},
{
"text": "\u201cA day without sunshine is like, you know, night.\u201d",
"author": "Steve Martin"
},
...]
Intended output for the code After change (the inconsistency is fixed):
[{
"author": "Jane Austen",
"text": "\u201cThe person, be it gentleman or lady, who has not pleasure in a good novel, must be intolerably stupid.\u201d"
},
{
"author": "Groucho Marx",
"text": "\u201cOutside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.\u201d"
},
{
"author": "Steve Martin",
"text": "\u201cA day without sunshine is like, you know, night.\u201d"
},
...]
2019-12-05 09:29:12 +08:00
Adrián Chaves
5980b0f284
Don’t use follow_all where a single item is expected ( #4 )
2019-12-02 12:47:44 -03:00
Adrián Chaves
dd12f5fdcd
Use Response.follow_all in the documentation where appropiate
2019-11-25 11:59:59 -03:00
Adrián Chaves
b642a1fca2
Fix doctest skipping based on the running Python version
2019-11-13 09:14:20 +01:00
Adrián Chaves
414e6e2fd5
Skip a doctest in Python 3.5- because of dictionary changes
2019-11-13 08:40:31 +01:00
Adrián Chaves
79d2f99995
Make tutorial doctests pass
2019-11-12 08:08:50 +01:00
Andrey Rahmatullin
229e722a03
Initial Python 2 removal ( #4091 )
2019-10-31 10:46:02 +01:00
illgitthat
07822935ec
Updating link for miniconda ( #4089 )
2019-10-22 12:05:34 +02:00
Adrián Chaves
a4aa5b8926
Fix internal links in the tutorial and release notes
2019-10-02 14:51:06 +02:00
elacuesta
5dbeece8da
[MRG+1] Drop py34 support - Update CI envs ( #3892 )
...
* Drop py34 support
* Travis experiments
* More Travis experiments
* Bump Twisted version for py35+ (stretch)
* Remove Debian build
* Remove pinned lxml for Py34
* Fix merge error
* Remove unused tox env
* Add environment with pinned versions for py36
* Bump minimum Twisted version in py27; Envs with pinned versions for py27 and py35
* Add botocore as extra dep for py27 tests
* Update requirements-py2.txt
* Add botocore and Pillow as extra dependencies
2019-08-07 12:36:52 +05:00
Artem Kuchumov
c81e15ed6e
Tutorial: scrapy shell example should say "text" not "title" ( #3807 )
...
Tutorial: scrapy shell example should say "text" not "title"
2019-06-05 13:15:23 +05:00
float13
a101d5fe5c
text edit - delete 2 extra words
2019-04-05 01:12:20 -04:00
float13
77e3695686
grammar fix - add apostrophe-s to browser
2019-04-05 01:04:59 -04:00
float13
d711ecfc18
grammar fix - delete extra word "shell"
2019-04-05 00:56:51 -04:00
float13
6336e1d1f3
grammar fix - delete unneeded apostrophe in "lets"
2019-04-05 00:54:46 -04:00
hsiao yi
cd9d8e28cd
unify the quote style
2018-12-11 19:21:07 +08:00
Adrián Chaves
274b65dff4
Add a troubleshooting section to the installation instructions
...
Its initial content covers the workaround for #2473 .
2018-12-03 16:36:05 +01:00
Immanuella Lim
6c98010f11
Remove 'Dive into Python3' reference
2018-11-04 16:04:45 +08:00
Immanuella Lim
c9b5bd6ad7
Remove ad link Dive Into Python3 from tutorial docs
2018-10-18 02:22:32 +08: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
bdcc045f62
DOC switch from .extract to get/getall API in docs
...
Also, response.urljoin is added in a few places, for robustness.
2018-09-12 17:57:27 +05:00
Mikhail Korobov
afce9716fa
DOC mention .attrib in the tutorial
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
09fd6c2a81
DOC unlink Firefox & Firebug sections from the tutorial for now.
...
See https://github.com/scrapy/scrapy/issues/3373 and https://github.com/scrapy/scrapy/issues/3372 for motivation.
2018-09-12 17:57:27 +05:00
Mikhail Korobov
ca27010d4f
DOC .extract_first() -> .get()
2018-09-12 17:57:27 +05:00
Raphael Wuillemier
af555cab23
Added general guide for developer tools instead of Firefox and Firebug-sections
2018-08-22 14:15:53 +02:00
Raphael Wuillemier
d3aa1e8666
Updated tutorial.rst to include more and up-to-date beginner resources
2018-08-06 17:40:31 +02:00
Konstantin Lopuhin
bb1f311891
Add PyPy3 support to faq and install doc
2017-12-25 15:46:05 +03:00
Konstantin Lopuhin
ea41114cf0
Mention PyPy support, add PyPy to install docs
2017-12-25 12:35:04 +03:00
Hugo
cbcf80b98f
Fix typo
...
[CI skip]
2017-12-20 17:34:13 +02:00
Hugo
44623687ab
Drop support for EOL Python 3.3
2017-12-19 17:59:05 +02: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
Weldon Malbrough
169dc2860e
Update tutorial.rst startproject files
...
Added middlewares.py to accurately reflect the file structure created by "scrapy startproject tutorial"
2017-10-16 22:46:32 -04:00
Renze Yu
088b80d41a
minor fix typo
2017-09-13 23:29:22 +08:00
Pablo Hoffman
a429d78019
update scrapinghub.com urls to use https
2017-08-24 16:03:36 -03:00
Paul Tremberth
fad6b70d92
Use https:// for readthedocs links
2017-06-01 16:41:52 +02:00
Paul Tremberth
163618c9b7
FAQ Rewrite note on Python 3 support on Windows
2017-03-29 12:02:44 +02:00
Paul Tremberth
36160f1b0a
Merge pull request #2477 from scrapy/recommend-anaconda-for-win
...
[MRG+2] docs: installation instructions, mention conda in the beginning (closes #2475 )
2017-03-09 12:56:50 +01:00
Mikhail Korobov
5b79c6a679
DOC document response.follow methods; expand the tutorial
2017-02-16 00:06:52 +05:00
Mikhail Korobov
877057fac0
initial response.follow implementation
2017-02-15 01:22:53 +05:00
Paul Tremberth
29e60213db
Use consistent selectors for author field in tutorial
2017-02-09 10:41:21 +01:00
Elias Dorneles
b6ab1ae9c3
docs: installation instructions, mention conda in the beginning ( closes #2475 )
2017-01-03 15:14:59 -02:00
Mikhail Korobov
0fc73a9d55
DOC update examples with long longger names
2016-12-16 21:47:58 +05:00
Rolando Espinoza
76459e1969
Update conda channel to conda-forge and show conda version badge.
2016-11-08 21:30:27 -03:00
Elias Dorneles
a9c74dbe42
Merge pull request #2339 from visued/master
...
[MRG+1] Update documentation to explain the use of double quotes on Windows (fixes #2325 )
2016-10-25 09:53:24 -02:00
Randy Pen
c7d245b90b
update
...
Thx for your advice.
2016-10-21 10:52:50 +02:00
Randy Pen
eacc5937e4
fix example code
...
In the AuthorSpider, original css selector failed to get links of author pages
2016-10-21 10:52:50 +02:00
Victor Sued
f74051e69e
update documentation to explain the use of double quotes on Windows.
2016-10-18 16:36:43 -02:00
Paul Tremberth
fed53c1e28
Merge pull request #2267 from scrapy/deprecate-ubuntu-packages
...
[MRG+1] Deprecate official Ubuntu packages and update installation instructions
2016-09-30 17:35:29 +02:00
Paul Tremberth
33d04684e5
Fix typo
2016-09-29 10:25:21 +02:00
Valdir Stumm Junior
5680c61063
Doc: update examples section with quotes.toscrape.com spiders
2016-09-28 15:45:01 -03:00
Paul Tremberth
23abf2d31b
Fix title underline
2016-09-28 18:31:27 +02:00
Paul Tremberth
8d130b295a
Update installation guide
2016-09-28 17:09:17 +02:00
Elias Dorneles
f4a2208916
addressing review comments and other minor editing
2016-09-22 11:04:45 -03:00
Elias Dorneles
d636e5baa8
better description for start_requests expected return value
2016-09-21 18:54:12 -03:00
Elias Dorneles
32017a76f8
recommend learn python the hard way for beginners
2016-09-21 11:06:36 -03:00
Elias Dorneles
38266cc949
recommend Dive into Python and Python tutorial instead of LPTHW for non-beginners
2016-09-21 11:02:24 -03:00
Elias Dorneles
c126c59361
address more review comments
2016-09-20 18:19:25 -03:00
Elias Dorneles
a876ea5bd2
minor grammar fix
2016-09-20 15:10:49 -03:00
Elias Dorneles
bc41fdf20e
address review comments, add debug log to initial spider
2016-09-20 15:04:08 -03:00
Elias Dorneles
125b691102
more reviewing and editing, minor restructure, syntax fixes
2016-09-20 12:47:03 -03:00
Elias Dorneles
8975371a57
Merge branch 'master' into tutorial-upgrades
2016-09-20 09:45:05 -03:00
Elias Dorneles
f4f93c5c26
fix tox docs build, adjust title
2016-09-20 09:19:59 -03:00
Ashish Kulkarni
8893527a2f
temporarily deprecate official Ubuntu packages
...
They are not currently updated and fail to install on
Ubuntu 16.04. Also update the instructions to refer to
the earliest supported LTS (Ubuntu 12.04).
fixes #2137 and closes #2076
2016-09-20 11:10:59 +02:00
Valdir Stumm Junior
fee07835f2
Completing the data extraction section
2016-09-19 19:19:44 -03:00
Elias Dorneles
2a409d1d95
[wip] changing introduction to scraping with selectors
2016-09-19 17:13:04 -03:00
Wayne Lovely
cc8497abb1
Fix a dict key in the tutorial
2016-09-17 11:09:28 +00:00
Valdir Stumm Junior
233b98d642
include section describing spider arguments
2016-09-16 18:08:10 -03:00
Elias Dorneles
31545a9f84
tutorial: updating extracting data section to introduce CSS and XPath equally
2016-09-16 17:13:24 -03:00
Elias Dorneles
147e75602d
update after review comments (thanks @stummjr)
2016-09-16 16:47:24 -03:00
Elias Dorneles
21de617c77
mention that spiders need to subclass scrapy.Spider
2016-09-16 15:55:14 -03:00
Elias Dorneles
b2a5cddbb0
tutorial: update section about following links, expand examples
...
adding an AuthorSpider to demonstrate further a different crawling
arrangement.
2016-09-16 15:49:49 -03:00
Valdir Stumm Junior
0cd9dfcc85
small fixes on tutorial
2016-09-16 15:21:49 -03:00
Valdir Stumm Junior
0da497cf7a
updates on the first section (our first spider)
2016-09-16 11:55:23 -03:00
Elias Dorneles
c508f40689
use harcoded URLs, remove item reference on second spider
2016-09-15 18:05:09 -03:00
Elias Dorneles
2427791287
tutorial: remove item class definition and present start_requests first
...
This changes the tutorial, removing the step of creating an item class
and also starts by presenting the start_requests method instead of
start_urls.
2016-09-15 17:46:31 -03:00
Elias Dorneles
75531e409e
use better condition in example spider
2016-09-15 16:56:13 -03:00
Elias Dorneles
1d159ae6f9
minor grammar fix
2016-09-15 15:37:03 -03:00
Elias Dorneles
18bd0b0886
docs: update overview spider code to use toscrape.com and minor changes
...
So, this will replace the spider example code from the overview that
scrapes questions from StackOverflow by a spider scraping quotes (much
like the one in the tutorial), and upates the text around it to be
consistent.
There are also minor wording changes plus a small Sphinx/reST syntax fix
on the features list at the bottom (it was creating a definition list,
causing one line to be bold).
2016-09-15 15:16:30 -03:00
Elias Dorneles
a9a96bed8f
updated tutorial as per review comments
2016-09-14 18:09:39 -03:00
Valdir Stumm Junior
bc67cd9edd
fix indentation issue
2016-09-14 12:39:29 -03:00
Valdir Stumm Junior
10f8c52f5d
changed tutorial examples from dmoz to quotes.toscrape.com
2016-09-13 14:05:26 -03:00
Pawel Miech
b67440dec0
docs on Scrapy on Windows + Python 3
2016-07-04 16:37:51 +02:00