iaroslavr / scrapy-mysql-pipeline Goto Github PK
View Code? Open in Web Editor NEWscrapy mysql pipeline
License: Other
scrapy mysql pipeline
License: Other
My project uses conda for package management, and it is not advised to mix conda and pip together in the same environment. Therefore it would be useful to deploy a conda package for scrapy-mysql-pipeline
.
Database connection uses utf-8 charset with no override capabilities in Scrapy settings.py. Allowing for this override, for example, by MYSQL_CHARSET = '' would be very beneficial, especially when scraping content with emojis ('utf8mb4').
Thank you.
Add bulk insert possibility. At first glance it looks incompatible with postprocess_item method
Item is not being returned from process_item properly and subsequent pipelines can not seem to process it
self.db.runInteraction(self._process_item, item) -- sometimes won't process, sometimes process twice for one item.
Using your pipeline, it's very helpful! Wondering if there is a simple way to route to separate database tables?
Add reconnect timeout on error
Introduce itemadapter into the pipeline to make the pipeline compatible with new item types pydantic
objects.
If I missed this anywhere my apologies, but it seems SSL connection aren't supported. Any chance this can be added/configured?
Thanks!
initialize db from file with schema
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.