This isn't an out-of-the-box option, but I think you could work around it in two ways: 1) Install the scraper into database A, but have the crawls extract things in to database B. Only give trusted users access to database A. 2) Write a datasette plugin that blocks access to datasette-scraper's URLs for non-admin users.
@@cldellow Awesome, that sounds good cheers! For now I think my needs are best met with a small scraper script and Githhub actions. Nevertheless, your plugin is really cool and I'll likely use it in the future. Cheers!
Thank you for posting! This is a wonderful tool and such a great pairing with datasette
Brilliant!! Amazing walkthrough and I had little idea of this functionality.
Awesome thanks
Is it possible to enable the scraper only for admins?
This isn't an out-of-the-box option, but I think you could work around it in two ways:
1) Install the scraper into database A, but have the crawls extract things in to database B. Only give trusted users access to database A.
2) Write a datasette plugin that blocks access to datasette-scraper's URLs for non-admin users.
@@cldellow Awesome, that sounds good cheers! For now I think my needs are best met with a small scraper script and Githhub actions. Nevertheless, your plugin is really cool and I'll likely use it in the future. Cheers!