Eugenio Lacuesta
3efe3bea1c
Update docs about cb_kwargs and meta
2019-03-28 14:16:03 -03:00
Mikhail Korobov
ec719f55e7
Merge pull request #3682 from elacuesta/rule_process_request_response_parameter
...
[MRG+1] Rule.process_request: access Response object
2019-03-28 01:39:54 +05:00
Eugenio Lacuesta
c43a23152b
Merge remote-tracking branch 'upstream/master' into callback_kwargs
2019-03-27 14:42:41 -03:00
Eugenio Lacuesta
8528f5065f
[Doc] Update cb_kwargs example
2019-03-27 14:42:26 -03:00
Anubhav Patel
9c9bca4e1c
make suggested changes.
2019-03-27 18:29:48 +05:30
Mikhail Korobov
845bae6637
Update docs/topics/broad-crawls.rst
...
Co-Authored-By: whalebot-helmsman <whalebot.helmsman@gmail.com>
2019-03-27 08:49:19 +00:00
Mikhail Korobov
820adb69c0
Merge pull request #3701 from Gallaecio/documentation-policy-api
...
Update the documentation policies: Ask to use docstrings to document …
2019-03-27 12:25:38 +05:00
Adrián Chaves
ce837b0f74
Update the documentation policies: Ask to use docstrings to document API members
2019-03-27 07:09:18 +01:00
Maram Sumanth
2fd8b7c28c
[MRG+1] redirect_reasons in Request.meta ( #3687 )
2019-03-27 00:15:53 +05:00
Adrián Chaves
431f18a9a1
Document FilesPipeline.file_path and ImagesPipeline.file_path
2019-03-26 12:15:19 +01:00
Vostretsov Nikita
103fdc40c1
Merge remote-tracking branch 'upstream/master' into round-robin-scheduler-tested
2019-03-25 16:16:42 +03:00
Vostretsov Nikita
8afffb7234
Tests Cleanup
...
add doctest for function
no need in this variables
move common assertion inside function
rename variable
rename variables
rename function
use function
this is not a method of public API
correct name for test
Update docs/topics/settings.rst
Co-Authored-By: whalebot-helmsman <whalebot.helmsman@gmail.com>
2019-03-25 16:08:40 +03:00
Vostretsov Nikita
989bba6cb3
Revert "new signal"
...
This reverts commit 646164fd7d6dd52061804d2df7424cff929bf739.
remove tests
Revert "emit new signal"
This reverts commit fcde0c6880678957a76af6083b6248f430a00fcf.
Revert "documentation for new signal"
This reverts commit 8aeb9f696ece95c16499a96767a7afa3d9c4abf4.
2019-03-25 16:08:40 +03:00
Mikhail Korobov
83eb537645
assorted cleanups: comments, docstrings, etc
...
scheduler cleanup
Scheduler no longer converts requests to dicts; PriorityQueue
instances always work with Request instances; converting Requests
to dicts is now Priority Queue responsibility.
minor cleanup
2019-03-25 16:08:40 +03:00
Vostretsov Nikita
3b1db71dac
New signal
...
update signature
documentation for new signal
utilize new signal
correct signal handler signature
emit new signal
test another signal
new signal
rename test file
faster test
rename test case
tests for signal emitting in bad cases
2019-03-25 16:08:40 +03:00
Eugenio Lacuesta
174ba3cc56
Rule.process_request: update docs
2019-03-22 19:16:18 -03:00
Mikhail Korobov
8583c033ef
Merge pull request #3694 from noviluni/master
...
[MRG+1] Fix numeration
2019-03-23 00:23:06 +05:00
Mikhail Korobov
729580dae2
Merge pull request #3671 from Gallaecio/item-deepcopy
...
Implement Item.deepcopy()
2019-03-22 22:56:39 +05:00
Adrián Chaves
7c148fce5a
Implement Item.deepcopy()
2019-03-22 17:07:10 +01:00
Konstantin Lopuhin
af2b666595
Merge pull request #3505 from kasun/json_request
...
[MRG+2] Request subclass for json requests #3504
2019-03-22 18:25:54 +03:00
Vostretsov Nikita
338b78d796
Add documentation
...
add section to broad-crawl topic
reword in accord with broad-crawl topic
add documentation for new priority queue
2019-03-22 15:40:37 +03:00
Adrián Chaves
9c314800e4
Document the SCRAPY_PROJECT environment variable
...
Fixes #1109
2019-03-22 15:40:36 +03:00
Adrián Chaves
afdb69ea6d
Add a troubleshooting section to the installation instructions
...
Its initial content covers the workaround for #2473 .
2019-03-22 15:40:36 +03:00
Marc Hernández
70aa5b1333
Fix numeration
2019-03-20 15:32:20 +01:00
Anubhav Patel
044318920a
doc for creating custom cache storage backend.
2019-03-17 16:54:28 +05:30
Eugenio Lacuesta
6760bca74b
Rename Request.kwargs to Request.cb_kwargs
2019-03-15 22:42:29 +00:00
Victor Torres
fda1d04b81
Merge branch 'master' into feed-storage-s3-acl
2019-03-15 13:26:45 -03:00
Adrián Chaves
d346b8cb0f
Merge pull request #3626 from Gallaecio/middlewares-from-crawler
...
[MRG+1] Document that the main entry point of downloader and spider middlewar…
2019-03-15 08:58:35 +01:00
Adrián Chaves
1f7413dc88
Merge pull request #3635 from matthieucham/feature-filteringlinkextractor-restrict-text
...
[MRG+1] Feature filteringlinkextractor restrict text
2019-03-15 07:58:28 +01:00
Adrián Chaves
a2ff647aac
Remove docs/topics/ubuntu.rst
2019-03-15 06:36:15 +01:00
Anubhav Patel
66a502db8c
Merge branch 'master' into logFormatter-doc-patch
2019-03-15 00:28:54 +05:30
Mikhail Korobov
5dc94db847
Merge branch 'master' into backward
2019-03-14 22:21:09 +05:00
Mikhail Korobov
54d106033f
Merge pull request #3649 from Gallaecio/inline-code-formatting
...
[MRG+1] Switch from ` to `` where inline code formatting is desired
2019-03-14 22:18:57 +05:00
Mikhail Korobov
7c54479a0e
Merge pull request #3662 from anubhavp28/link-patch
...
Fix a link inside docs
2019-03-14 22:18:04 +05:00
Mikhail Korobov
c3b6755671
Merge pull request #3668 from Gallaecio/retry-complete-docs
...
Remove the unexisting retry_complete signal from the documentation
2019-03-14 22:16:28 +05:00
Mikhail Korobov
f439553844
Merge pull request #3670 from Gallaecio/depth-first-doc
...
Clarify the documentation of DEPTH_PRIORITY further
2019-03-14 22:10:42 +05:00
Mikhail Korobov
9c2c312451
Merge pull request #3673 from Gallaecio/friendlier-documentation-1
...
Use the description from README.rst on index.rst
2019-03-14 21:53:44 +05:00
Eugenio Lacuesta
b30ca379b6
Rule.process_request: docs
2019-03-13 11:02:51 +00:00
Anubhav Patel
82049e9c41
make suggested changes.
2019-03-10 20:17:07 +05:30
Adrián Chaves
91aec8b3bb
Update developer-tools.rst
...
Fixes #3674
2019-03-08 18:19:30 +01:00
Adrián Chaves
b1063d9b2c
Use the description from README.rst on index.rst
2019-03-08 17:22:49 +01:00
Adrián Chaves
e108e3adbf
Clarify the documentation of DEPTH_PRIORITY further
2019-03-08 15:13:11 +01:00
Adrián Chaves
4ef38d925e
Remove the unexisting retry_complete signal from the documentation
2019-03-08 14:21:00 +01:00
Anubhav Patel
924b67437b
move api docs to source code
2019-03-07 16:40:59 +05:30
Anubhav Patel
184def1060
fix a link inside docs
2019-03-07 00:09:10 +05:30
Anubhav Patel
82d239f3b1
docs for scrapy.logformatter
2019-03-06 12:08:09 +05:30
Adrián Chaves
75d6f56c8a
Switch from ` to `` where inline code formatting is desired
2019-03-01 16:56:58 +01:00
Adrián Chaves
858f5be747
backwards → backward (adj.)
2019-03-01 16:10:23 +01:00
Matthieu Grandrie
e3b15252c8
New constructor arg *restrict_text* for FilteringLinkExtractor.
...
Same as allow and deny args, it holds a string, a regex or an iterable of. Links whose text don't match one of the regex are filtered out.
DOC restrict_text in LxmlLinkExtractor
2019-02-28 17:21:17 +01:00
Adrián Chaves
50bf4c60c4
Document that the main entry point of downloader and spider middlewares is from_crawler()
2019-02-13 17:39:20 +01:00
Victor Torres
984e706fd2
using blank string instead of None as default value as proposed by @kmike
2019-02-12 12:26:57 -02:00
Victor Torres
e25b9a2323
calling it feeds instead of objects
2019-02-08 15:51:23 -02:00
Victor Torres
7b83ed7c5e
remove typo
2019-02-08 15:51:23 -02:00
Victor Torres
e0f34be383
update docs
2019-02-08 15:51:23 -02:00
Adrián Chaves
38af090f4d
Indicate that users must implement their own authentication result check
...
The example of form-based login could lead some users to think its authentication result
check was final. See https://stackoverflow.com/a/54410966/939364
This change should make it more obvious that users are expected to implement their
own logic to check whether authentication worked or not.
2019-02-04 11:17: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
Daniel Graña
88326cd8be
Set release date to 1.6.0
2019-01-31 01:16:45 -03:00
Mikhail Korobov
91791cd329
DOC final changelog cleanups
2019-01-30 12:49:36 -03:00
Mikhail Korobov
2c8c8b2dd8
DOC fix after bad merge - remove duplicate entries in changelog
2019-01-30 12:49:36 -03:00
Mikhail Korobov
0fc9d705c2
DOC mention that telnet security improvements happened in 1.5.2
2019-01-30 12:49:36 -03:00
Mikhail Korobov
4cf4dd1d3e
DOC add recent changes to changelog
2019-01-30 12:49:36 -03:00
Mikhail Korobov
638469f9ef
DOC extract_first/extract matches get/getall better
...
Thanks @Gallaecio!
2019-01-30 12:49:36 -03:00
Mikhail Korobov
e479f5aa15
DOC update changelog
...
* changes from recently merged pull requests
* more highlights
* re-organized headers
* Selector API changes
2019-01-30 12:49:36 -03:00
Mikhail Korobov
706910790b
[wip] draft 1.6 release notes
2019-01-30 12:49:36 -03:00
Daniel Graña
b5026b842c
Merge pull request #3544 from joaquingx/fix-item-pipeline-x
...
Fix item-pipeline example
2019-01-28 10:44:19 -03:00
Harry Moreno
8fca98616a
fix grammar
2019-01-28 10:19:31 -03:00
Harry Moreno
b828b5f8c8
fix grammar
2019-01-26 18:39:05 -05:00
Daniel Graña
71743a6546
Add release notes for v1.5.2
2019-01-22 18:56:47 -03:00
Eugenio Lacuesta
bddfeaba4c
Add Request.kwargs docs
2019-01-15 19:14:59 -03:00
kasun Herath
f3813e376c
Merge remote-tracking branch 'origin/master' into json_request
2019-01-14 23:03:21 +05:30
Eugenio Lacuesta
9759112a3a
Merge branch 'master' into process_spider_exception_generator
2019-01-03 11:34:07 -03:00
Joaquin Garmendia Cabrera
e1f8b55ba0
Improve syntax for readability
2018-12-28 16:53:12 -05:00
Victor Torres
5a824c906c
using shorter import version and moving datetime import to the beginning of the code snippet
2018-12-27 18:34:41 -03:00
Victor Torres
bfbcf52e9d
fix SitemapSpider import
2018-12-27 18:12:31 -03:00
Victor Torres
b68308779a
improving docs
2018-12-27 17:37:59 -03:00
Victor Torres
e1597f7c42
improve readability
2018-12-27 11:40:14 -03:00
Victor Torres
10f46bca54
documenting sitemap entries as suggested by @kmike
2018-12-27 11:40:14 -03:00
Victor Torres
657f0663b3
rename param from urls to entries
2018-12-27 11:40:14 -03:00
Victor Torres
672385a371
using a method definition instead of a None attribute
2018-12-27 11:40:14 -03:00
Victor Torres
a5e1b7bb47
add sitemap_filter attribute to SitemapSpider class
...
it makes it possible to filter sitemap urls by any available attribute
for example, you can filter urls with lastmod greater than a given datetime
it can be helpful when the url loc itself does not aggregate that information
2018-12-27 11:40:14 -03:00
Daniel Graña
76433feb4f
Merge pull request #3548 from scrapy/fix-aws-settings-docs
...
fix docs for AWS_... settings. A follow-up to GH-2609.
2018-12-26 11:10:57 -03:00
Daniel Graña
6a0ea0cf26
Merge pull request #3415 from scrapy/telnet-auth
...
[MRG+1] Telnet console authentication
2018-12-26 10:58:44 -03:00
Mikhail Korobov
71e47629b1
DOC fix docs for AWS_... settings. A follow-up to GH-2609.
2018-12-26 16:35:05 +05:00
Mikhail Korobov
4306886ac6
Merge pull request #3527 from hsiaoyi0504/patch-1
...
unify the quote style
2018-12-26 14:45:06 +05:00
Mikhail Korobov
7c26701012
DOC warn about telnet console being insecure
2018-12-26 01:33:58 +05:00
Mikhail Korobov
dbfabf02e8
Merge branch 'master' into telnet-auth
2018-12-26 01:04:34 +05:00
Joaquin Garmendia Cabrera
f85c915872
Update item-pipeline example
2018-12-23 00:26:58 -05:00
kasun Herath
24acc50d18
dumps_kwargs parameter in docs
2018-12-18 23:16:14 +05:30
kasun Herath
12ad06b7ac
docs change
2018-12-17 23:17:13 +05:30
kasun Herath
8f1507a4a5
dumps_kwargs
2018-12-17 23:14:06 +05:30
Daniel Graña
665c04b0c1
Merge pull request #3518 from Gallaecio/scrapy-project-doc
...
Document the SCRAPY_PROJECT environment variable
2018-12-12 11:56:47 -03:00
hsiao yi
cd9d8e28cd
unify the quote style
2018-12-11 19:21:07 +08:00
kasun Herath
ecda69130e
allow to send empty data values and docs changes
2018-12-10 22:34:49 +05:30
kasun Herath
3c981bf204
add documentation
2018-12-09 12:56:12 +05:30
Adrián Chaves
62f3349c1a
Document the SCRAPY_PROJECT environment variable
...
Fixes #1109
2018-12-03 17:14:10 +01: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
Daniel Graña
44f8e28b3c
Fix headings' underlines
2018-10-16 19:53:20 -03:00
Henrique Coura
92b7955d75
Add Telnet console authentication docs
2018-10-16 14:50:00 -03:00
Eugenio Lacuesta
2396356a82
Merge branch 'master' into process_spider_exception_generator
2018-10-10 11:37:43 -03:00
jfflisikowski
edaf74bfae
Correct the unclear comments by adding <# < processing code not shown >
2018-10-02 19:48:48 +02: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
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
d32c4deaa9
DOC update Scrapy selectors tutorial to match parsel's tutorial better
2018-09-12 17:57:27 +05:00
Mikhail Korobov
ca27010d4f
DOC .extract_first() -> .get()
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
Daniel Graña
ae8a0dc77c
Merge pull request #3383 from StasDeep/feature/issue-3382
...
[MRG+1] Add ability to use FormRequest in contracts
2018-09-05 11:21:26 -03:00
Daniel Graña
4da0b59cd7
Merge pull request #3393 from whalebot-helmsman/singal-request-added-to-downloader-slot
...
[MRG+1] New signal for reqeuests reached downloader
2018-09-05 11:17:13 -03:00
Stas Glubokiy
8dbbbd1395
Use request_cls attribute in contract definition
2018-09-03 20:07:37 +03:00
Vostretsov Nikita
c02cfa574c
remove comma
2018-08-29 11:21:55 +00:00
Raphael Wuillemier
79de3d569a
Removed obsolete firebug-images
2018-08-23 16:19:13 +02:00
testingcan
e98e7f8506
Added missing curly brace
2018-08-23 14:50:49 +02:00
Raphael Wuillemier
4d3aaabbca
Updated code, added code snippets and improved readability
2018-08-23 12:40:31 +02:00
testingcan
3a71e7dbce
Increased length of "="
2018-08-22 16:57:51 +02:00
Raphael Wuillemier
af555cab23
Added general guide for developer tools instead of Firefox and Firebug-sections
2018-08-22 14:15:53 +02:00
Stas Glubokiy
9ab85fe788
Merge branch 'master' of github.com:StasDeep/scrapy into feature/issue-3382
2018-08-19 17:21:28 +03:00
Vostretsov Nikita
597b8a97ad
documentation for new signal
2018-08-17 14:39:42 +00:00
Stas Glubokiy
b4b1e48343
Add ability to use FormRequest in contracts
2018-08-11 22:18:43 +03:00
Raphael Wuillemier
d3aa1e8666
Updated tutorial.rst to include more and up-to-date beginner resources
2018-08-06 17:40:31 +02:00
Eugenio Lacuesta
40449fa0eb
Update docs, add tests, remove FIXME comment
2018-08-03 18:20:25 -03:00
Mikhail Korobov
895df937a3
Merge pull request #3350 from granadoho/master
...
make amendments to grammer
2018-07-25 23:50:06 +03:00
Malcolm Granado Ho Yong Liang
48866457b3
make amendments to grammer
2018-07-25 14:38:37 +08:00
Andrei Korigodski
7020c3e452
Doc: update copyright notice
...
The years are updated. The hyphen is replaced with an en dash.
2018-07-20 14:46:57 +03:00
Eugenio Lacuesta
c493721b64
Merge branch 'master' into process_spider_exception_generator
2018-07-18 15:18:42 -03:00
Eugenio Lacuesta
e96b7782bc
Merge branch 'master' into process_spider_exception_generator_experiment
2018-07-15 18:17:37 -03:00
Valdir Stumm Junior
c61e8a617f
[doc] update default RETRY_HTTP_CODES
2018-07-13 11:55:16 -07:00
Mikhail Korobov
c86213317d
1.5.1 release notes
2018-07-12 02:17:08 +05:00
Daniel Graña
01e317e79b
Merge pull request #3327 from nyov/deprecations
...
[MRG+1] Remove deprecated CrawlerSettings class and Settings attributes
2018-07-11 12:01:49 -03:00
Daniel Graña
f8f5f463e6
Merge pull request #3253 from rpkilby/depth-stats
...
[MRG+1] Update depth middleware stats (fixes #3245 )
2018-07-11 12:00:08 -03:00
nyov
4f6778aa73
Remove deprecated CrawlerSettings class and Settings attributes
2018-07-09 17:16:31 +00:00
chainly
74ce156154
add item_error to be catchable ( #3256 )
2018-07-03 16:00:59 -03:00
Eugenio Lacuesta
df75a0942e
Update docs
2018-07-01 13:35:14 -03:00
Daniel Graña
594a441eb5
Merge pull request #3294 from rennerocha/feed-exporter-docs
...
[MRG+1] Improve docs of S3 Storage to make Python version more explicit
2018-06-27 11:16:07 -03:00
Eugenio Lacuesta
ab48837f09
Merge branch 'master'
2018-06-24 20:31:37 -03:00
Leo
7a601d76de
fix typo
...
extractred --> extracted
2018-06-19 10:51:55 +02:00
Renne Rocha
e2bb218e9a
Include Python version indication to each required library used in S3 storage
2018-06-13 18:11:43 -03:00
mugayoshi
d4511667fb
Update debugging memory leaks section in the docs
...
Add Python3 tools description.
2018-06-09 18:17:11 +09:00
Mikhail Korobov
847b50ce9c
Merge pull request #3201 from grammy-jiang/master
...
[MRG+1] fix a mistake in topic spider-middleware.rst
2018-06-02 01:09:59 +05:00
Mikhail Korobov
13b15dc9a8
Merge pull request #3279 from lewoudar/patch-1
...
Update spiders.rst
2018-06-01 22:20:41 +05:00
Chris Slothouber
ecdd888ff4
Minor edits to contributing.rst
...
Corrected minor grammatical issues and increased clarity of instructions.
2018-06-01 09:25:34 -04:00
Kevin Tewouda
ffa7bede17
Update spiders.rst
...
I changed URLs to :class:`~scrapy.http.Request` in start_urls explanation of the default spider
2018-05-30 06:33:18 +02:00
Ryan P Kilby
2dfc5d128b
Update DEPTH_STATS refs to DEPTH_STATS_VERBOSE
2018-05-17 11:00:21 -04:00