Comments (3)
Bots to block
How can I block MJ12bot?
MJ12bot adheres to the robots.txt standard. If you want the bot to prevent website from being crawled then add the following text to your robots.txt:
User-agent: MJ12bot
Disallow: /
Please do not block our bot via IP in htaccess - we do not use any consecutive IP blocks as we are a community based distributed crawler. Please always make sure the bot can actually retrieve robots.txt itself. If it can't then it will assume that it is okay to crawl your site.
If you have reason to believe that MJ12bot did NOT obey your robots.txt commands, then please let us know via email: [email protected]. Please provide URL to your website and log entries showing bot trying to retrieve pages that it was not supposed to.
Testing/validating robots.txt functionality
https://docs.python.org/3.5/library/urllib.robotparser.html
from prosperapi.
To keep multiple bots from crawling the site, you can follow this.
`This example tells all robots to stay out of a website:
User-agent: *
Disallow: /
This is taken from https://en.wikipedia.org/wiki/Robots_exclusion_standard#About_the_standard
To protect the API only, it could be setup as
User-agent: * Disallow: /CREST/
from prosperapi.
Robots.txt functionality should also be added to ProsperCookiecutter for Flask projects
from prosperapi.
Related Issues (14)
- ProsperCommon v0.3.x integration
- sphinx integration HOT 1
- Add retry to ESI calls HOT 1
- Better HTTP error capture
- end-to-end ujson integration HOT 1
- PLEX Split compatability
- Replace dh-virtualenv with Docker
- Fix EMD requests
- Add pytest-pylint test coverage HOT 1
- ProsperCommon v1.0.0 Integration HOT 2
- Move __version__ into library
- Add tinydb records on endpoint access
- Mongo/TinyMongo Integration HOT 3
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 prosperapi.