1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-24 19:44:33 +00:00

5042 Commits

Author SHA1 Message Date
Artur Gaspar
2748b38592 Test for not calling the download function when downloader middleware returns a response in process_request. 2015-09-02 11:15:37 -03:00
Artur Gaspar
1f4af9d81e Test for robots.txt middleware for logger not being called when the request for robots.txt is ignored. 2015-09-02 10:33:53 -03:00
Artur Gaspar
668e5fd257 Test for robots.txt middleware for processing a request for which the robots.txt parser is ready. 2015-09-02 10:23:24 -03:00
Artur Gaspar
a6a629e707 Call actual error logger in robots.txt middleware tests. 2015-09-02 10:23:24 -03:00
Artur Gaspar
9ce9a293a6 Always check robots.txt before making another request in RobotsTxtMiddleware. 2015-09-02 10:23:24 -03:00
Artur Gaspar
ca83a0b028 Support for returning deferreds in downloader middleware methods. 2015-09-01 13:22:43 -03:00
Daniel Graña
b876755f1c Merge pull request #1469 from olafdietsche/form-submit-button-plain
Form submit button plain
2015-08-31 19:30:41 -03:00
Olaf Dietsche
121d7535be Allow button cotrols to submit form 2015-08-31 19:58:16 +02:00
Olaf Dietsche
e5f26078fa Add test: submit form with button control 2015-08-31 19:57:45 +02:00
Daniel Graña
0018caf0b6 Merge pull request #1461 from scrapy/py3-linkextractors
[MRG] assorted Python 3 porting
2015-08-31 11:59:30 -03:00
Daniel Graña
b4e382c867 Merge pull request #1318 from yarikoptic/fix-docs-explicit-rtd-theme-path
[MRG+1] DOC(ENH): specify path to rtd theme explicitly
2015-08-31 10:42:02 -03:00
Mikhail Korobov
44bfcbcf0f TST split LinkExtractorTestCase.test_extraction into several methods; remove duplicated test 2015-08-31 00:49:38 +05:00
Mikhail Korobov
f7052413e0 PY3 raise an exception if bytes are passed as url to Link constructor 2015-08-28 23:04:02 +05:00
Mikhail Korobov
9bfe6ece59 Merge branch 'master' into py3-linkextractors
Conflicts:
	scrapy/linkextractors/lxmlhtml.py
	tests/test_linkextractors.py
2015-08-28 04:53:32 +05:00
Mikhail Korobov
ff24cbbc47 PY3 depth, offsite and referer spider middlewares; Crawler 2015-08-28 04:11:30 +05:00
Mikhail Korobov
d5984bbea9 PY3 port scrapy.spiders 2015-08-28 04:11:30 +05:00
Mikhail Korobov
f2edbd05de PY3 port LinkExtractor
* tests for other link extractors are moved to test_linkextractors_deprecated.py
* in Python 3 Link is converted to use native strings for urls
* minor cleanups
2015-08-28 04:11:30 +05:00
Mikhail Korobov
f46a450080 refactor test_linkextractors
* rename LinkExtractorTestCase to BaseSgmlLinkExtractorTestCase
* add BaseLinkExtractorTestCase link extractor tests can inherit from
  and decouple it from SgmlLinkExtractor
* add an extra check for deny_extensions
* xfail test_restrict_xpaths_with_html_entities for LxmlLinkExtractor explicitly
2015-08-28 04:11:30 +05:00
Julia Medina
aa31811cfd Merge pull request #1214 from rgtk/link-rel
[MRG+1] Support link rel attribute with multiple values
2015-08-27 19:57:54 -03:00
Mikhail Korobov
9bfab53075 Merge pull request #1462 from tagatac/master
minor: scrapy.Spider docs grammar
2015-08-28 02:42:37 +05:00
David Tagatac
08162a15d8 minor: scrapy.Spider docs grammar 2015-08-27 17:37:16 -04:00
Rafał Gutkowski
cb3007c066 support link rel attribute with multiple values 2015-08-27 20:13:47 +02:00
Mikhail Korobov
8ecc4544b3 enable console tests in PY3 2015-08-27 21:37:24 +05:00
Mikhail Korobov
9616d91e4a Merge pull request #1444 from cyberplant/bpython_support
[MRG +1] bpython support
2015-08-27 21:28:05 +05:00
Rick
aa88fd797a Small grammatical change 2015-08-26 15:01:50 -03:00
Daniel Graña
71bd79e70f Merge pull request #1212 from Digenis/test-fix-render_template_file
fix utils.template.render_templatefile() bug +test
2015-08-26 14:46:42 -03:00
Νικόλαος-Διγενής Καραγιάννης
56b3cf07ff fix string manipulation in render_templatefile() 2015-08-26 20:45:41 +03:00
Νικόλαος-Διγενής Καραγιάννης
f5c54072ec Test utils.template.render_templatefile() 2015-08-26 20:44:33 +03:00
Daniel Graña
026a1caffb Merge pull request #1456 from scrapy/py3-fixes
Small Python 3 fixes
2015-08-26 11:46:00 -03:00
Mikhail Korobov
68a47ade46 PY3 port test_logformatter 2015-08-26 02:34:21 +05:00
Mikhail Korobov
642af00bb7 fix Referer logging 2015-08-26 02:19:33 +05:00
Mikhail Korobov
7da769feb2 enable test_stats and test_utils_log tests in Python 3 2015-08-26 01:58:59 +05:00
Mikhail Korobov
787b5af30e add coverage files to gitignore 2015-08-26 01:58:33 +05:00
Mikhail Korobov
cfae62f9cc Merge pull request #1441 from aivarsk/fix-common-practices
Make common practices sample code match the comments
2015-08-23 17:36:09 +05:00
Daniel Graña
489c76b83e Merge pull request #1447 from jdemaeyer/fix/redirectmiddleware-respect-meta-attributes
[MRG +1] Fix RedirectMiddleware not honouring handle_httpstatus meta keys
2015-08-22 09:46:27 -03:00
Jakob de Maeyer
d164398a27 Fix RedirectMiddleware not honouring meta handle_httpstatus keys 2015-08-21 13:22:42 +02:00
Luar Roji
ee66382f29 Fixed banner display in all 3 python shells 2015-08-21 01:12:58 +01:00
nyov
509cc8d41e Add support for bpython console.
Adds support for configuration of shells from scrapy.cfg
and SCRAPY_PYTHON_SHELL.

config snippet:

cat <<EOF >> ~/.scrapy.cfg
[settings]
# shell can be one of ipython, bpython or python;
# to be tried as the interactive python console
# (in above order, unless set here).
shell = python
EOF

(closes #270, #1100, #1301)
2015-08-21 01:12:58 +01:00
Aivars Kalvāns
b8b1e8e544 Make common practices sample code match the comments 2015-08-19 16:54:10 +03:00
Daniel Graña
280eab2416 Merge pull request #1352 from nyov/le-bogus-links
[MRG+1] [LinkExtractors] Ignore bogus links (#907)
2015-08-16 00:42:55 -03:00
Andrew Scorpil
de15fcdf33 [LinkExtractors] Ignore bogus links
(rebased the code for scrapy 1.0 and made a few code improvements --nyov)
2015-08-15 00:16:39 +00:00
Mikhail Korobov
9adb5c31c0 Merge pull request #1433 from scrapy/codecov
Coverage and reports at codecov.io and coveralls.io
2015-08-14 05:21:10 +05:00
Daniel Graña
27077d2b6c Forward coverage envvars needed to cover subprocess 2015-08-13 21:07:45 -03:00
Daniel Graña
43fc2f23b8 Increase coverage of version command 2015-08-13 19:30:06 -03:00
Daniel Graña
54f9837804 Document how to get coverage report 2015-08-13 19:02:51 -03:00
Daniel Graña
cb9577a6d4 Do not be verbose with coverage report by default 2015-08-13 19:02:36 -03:00
Daniel Graña
108c3e63a5 Add coverage report trough codecov.io 2015-08-13 13:56:24 -03:00
Daniel Graña
12bebb6172 Merge pull request #1431 from dangra/moved-to-parsel
Replace usage of deprecated class by its parsel\'s counterpart
2015-08-12 14:29:34 -03:00
Daniel Graña
6c2c9a4baf Merge pull request #1430 from dangra/openssl-version
Add openssl version to version command
2015-08-12 14:24:43 -03:00
Daniel Graña
7f634598b6 Add openssl version to version command 2015-08-12 14:24:24 -03:00