Comments (3)
That's a great idea, will add this to a feature request.
from sketchy.
This could be achieved with redis. Just set a TTL configuration option in https://github.com/Netflix/sketchy/blob/master/config-default.py , then for every URL scraped set that URL in redis as the key and the file path as the value.
Then, for every request, check redis for the existence of that URL through redis.get(url), if it returns None, scrape, if not, return the value from redis.
from sketchy.
Closing. If someone wants to add this feature, please reopen.
from sketchy.
Related Issues (20)
- ImportError: No module named _winreg HOT 8
- Need help tracing symbolic link error in controller.py HOT 3
- Clean install on MacOS, needs also a MySQL Installation HOT 2
- Sketchy is not creating screenshots for scrumblr HOT 2
- MySQL Session Bug With Stale Sessions HOT 1
- Disable pickle serializer for Celery HOT 1
- PhantomJS keeps timing out. HOT 18
- sqlalchemy.exc.OperationalError HOT 2
- Cannot connect to redis HOT 2
- SSL Error when accessing certain sites HOT 1
- Lack of PostgreSQL connector HOT 2
- Couldn't specify a schema for databases such as PostgreSQL HOT 4
- Chinese text is not properly rendered in scrapes from sketchy HOT 12
- Internal Server Error HOT 1
- Unable to capture screenshot HOT 24
- Only screenshot/scrap content if page has changed? HOT 1
- Allow add ability to bulk request screenshots
- Migrate PhantomJS to Headless Chrome HOT 5
- Sketchy Returning ERROR Server 500 when successful HOT 4
- "No module named ext.restful" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sketchy.