A tool and library written in Python to check the Copyright information of online works and the conditions under which they can be accessed. See the #/examples/ folder to get started. The source code is available in this repository and there are packaged releases available from PyPI that include verified databases. Requires Python 3.9+!
NOTE: The initial prototype of this weboptout tool was built in a few hours. If you want to comply with Copyright regulations worldwide and respect the conditions set by rightsholders on their platform of choice, you can easily do so without this library. There's no excuse!
The library supports checking if files hosted on a domain or CDN are opted-out of Text- and Data-Mining:
from weboptout import check_domain_reservation, rsv
res = check_domain_reservation("pinterest.com")
if res == rsv.YES:
print(f"Domain Opted-Out\n\t{res.url}\n\t❝{res.summary}〞")
You may call the API functions like check_domain_reservation in both synchronous and asynchronous forms.
pip install weboptout
pip install poetry
poetry install
This project has dual licensing, both of which you must respect if you use packaged releases:
- The source code in this repository is covered by the MIT license.
- The database in packaged releases is under a Fair Dealings Licence.
Please note that this project does not provide WARRANTY, and attempts to claim WARRANTY for NON-INFRINGEMENT in the context of regulatory or contractual compliance will be considered a punishable breach of the LICENSE terms. DAMAGES are set at €250,000.