Adrián Chaves
1d5c270ce8
Fix dangling file descriptor in FeedExporter when FEED_STORE_EMPTY is False ( #4023 )
2019-10-22 15:12:52 +02:00
Pengyu Chen
7b755a41a1
Added: Properly handling quoted passwords in FEED_URI for FTP
2019-08-06 15:19:57 +01:00
Luiz Francisco Rodrigues da Silva
df68c4b9b1
Add a setting to use active mode in FTPFeedStorage ( #3829 )
...
Add a setting to use active mode in FTPFeedStorage
FTP servers can be configured in active and passive mode, by default
Python and Scrapy use passive mode and there was no way to use active.
This commit adds a setting FEED_STORAGE_FTP_ACTIVE to allow a feed
to be exported to a FTP server configured in active mode.
2019-07-10 14:25:52 +02:00
nyov
5442c2d3c3
Updating S3FeedStorage instancing without AWS key.
2019-07-06 13:41:56 +00:00
Victor Torres
fda1d04b81
Merge branch 'master' into feed-storage-s3-acl
2019-03-15 13:26:45 -03:00
Adrián Chaves
858f5be747
backwards → backward (adj.)
2019-03-01 16:10:23 +01:00
Victor Torres
9b8ba4c383
try to import botocore before runing some tests
2019-02-14 16:20:56 -02:00
Victor Torres
ea8be627d1
botocore is not supported on debian jessie
2019-02-13 20:32:36 -02:00
Victor Torres
dc0b643832
refactoring tests to avoid mocking private method
2019-02-13 19:44:50 -02:00
Victor Torres
1eac2a163c
simplifying how we deal with threads.deferToThread calls
2019-02-08 16:50:39 -02:00
Victor Torres
f824f5b2d1
testing public method store instead of private method _store_in_thread
...
need to mock deferToThread function
2019-02-08 15:51:23 -02:00
Victor Torres
079af889e7
also testing without botocore
2019-02-08 15:51:23 -02:00
Victor Torres
126207fb7b
PEP8: use short name for mock method
2019-02-08 15:51:23 -02:00
Victor Torres
ad83ffdf1f
refactoring
2019-02-08 15:51:23 -02:00
Daniel Graña
38608bc249
Use ignore_errors option from rmtree
2018-08-15 11:59:09 -03:00
Daniel Grana
a304d6b692
Workaround to pass tests/test_feedexporter.py under windows
2018-08-15 02:23:07 -07:00
Jakob de Maeyer
034152961d
Fix Feedexport test in Windows by using proper file URI
2018-08-15 01:35:01 -03:00
Eugenio Lacuesta
917c1fde68
Merge branch 'master' into enhancement/alternate-feedexport-constructors
2018-07-20 12:09:50 -03:00
Eugenio Lacuesta
98d74d1083
Requested changes
2018-07-20 12:08:49 -03:00
Vostretsov Nikita
b364d27247
[MRG+1] Automatic port selection for servicies in unit tests ( #3210 )
...
* ability to pass port as a parameter
* try to find free ports
* use environment variables to pass mock server address
* get mock server address from environment variables
* ability to select ports for proxy in runtime
* use common method for URLs from mock server
* https support
* get mock server address
* get mock address
* replace hand-written mechanism by kernel-based one
* use ephemeral ports in mockserver
* strip EOL from addresses
* use ephemeral port in proxy
* no need to restore environment as it is restored in tearDown
* decode bytes
* use mockserver address as a variable
* ability to pass address as variable
* per test-case mockserver
* use base class
* remove obsolete environment manipulation
* return usage of proxy for http cases
* common method for broking proxy auth credentials
* python version-independent url methods
2018-05-23 21:25:50 +03:00
Jakob de Maeyer
4d77c3084e
Add from_crawler constructor to S3FeedStorage
2017-07-25 09:41:51 +02:00
Jakob de Maeyer
815d6160cf
Add from_crawler constructor for feed exporters and storages
2017-07-25 09:41:29 +02:00
Eugenio Lacuesta
63b8caf5de
Feed exports: rewrite indentation test without .strip()
2017-05-09 11:58:53 -03:00
Eugenio Lacuesta
c7bb2fa8ce
Feed exports: consistent and backwards compatible behaviour on indent
2017-03-07 11:56:00 -03:00
Eugenio Lacuesta
766b2c8453
Feed exports: enforce difference between None and 0 on indent
...
Also rename params and settings from "indent_width" to just "indent"
2017-03-07 11:56:00 -03:00
Eugenio Lacuesta
7e9153b38d
Feed exports: beautify JSON and XML
2017-03-07 11:56:00 -03:00
Mikhail Korobov
b9928558b2
TST remove temporary files and folders
2017-02-16 17:50:38 +05:00
Paul Tremberth
03ab077249
Feed exporter: start exporting only on first item
...
Fixes GH-872
2016-09-17 01:36:56 +02:00
Dracony
33a39b368f
added FEED_EXPORT_ENCODING setting to allow encoding specification
2016-07-12 16:20:17 +02:00
Aron Bordin
9250a5bffa
added FEED_TEMPDIR to settings
2016-04-01 00:05:21 -03:00
Konstantin Lopuhin
cfc567f48e
botocore support for S3FilesStore
2016-02-15 19:59:48 +03:00
Konstantin Lopuhin
32cd8c9165
add direct test for S3FilesStore
2016-02-15 19:59:48 +03:00
Konstantin Lopuhin
d1470e85a2
S3FeedStorageTest: pass on py3, add some non-ascii content to be sure
2016-02-15 19:59:48 +03:00
Konstantin Lopuhin
3ada45a9bb
S3FeedStorageTest: add botocore support, and organize boto/botocore checks
2016-02-15 19:59:47 +03:00
Konstantin Lopuhin
5d2f067458
S3FeedStorageTest: delete key after test
2016-02-15 19:59:47 +03:00
Elias Dorneles
0c44fac2b5
added tests for feed export marshal and pickle
2016-01-24 19:17:42 -02:00
Elias Dorneles
9fbe6f3e81
added feedexport test for xml output
2016-01-23 17:17:40 -02:00
Elias Dorneles
2514973242
re-enable skipped feed export tests
2016-01-21 21:22:12 -02:00
Mikhail Korobov
9b0ca1b7a0
drop support for FEED_EXPORT_FIELD=[] meaning "no fields"
2015-05-18 17:13:25 +05:00
Mikhail Korobov
9fb318338b
support FEED_EXPORT_FIELDS=[]
2015-05-18 16:44:02 +05:00
Mikhail Korobov
e1efd19175
TST, DOC document that Scrapy only infers field names for CSV
2015-05-18 16:43:23 +05:00
Mikhail Korobov
8d9e3b7e8d
TST add a test for JSON lines item exporter
2015-05-18 16:43:23 +05:00
Julia Medina
9a3e3ba505
Move scrapy/contrib remaining top-level files to scrapy/extensions
2015-04-29 21:27:19 -03:00