datasette-scraper walkthrough

Поділитися
Вставка
  • Опубліковано 22 лис 2024

КОМЕНТАРІ • 6

  • @JoaoNatali
    @JoaoNatali 9 місяців тому

    Thank you for posting! This is a wonderful tool and such a great pairing with datasette

  • @JOHNSMITH-ve3rq
    @JOHNSMITH-ve3rq 10 місяців тому

    Brilliant!! Amazing walkthrough and I had little idea of this functionality.

  • @dragon3602010
    @dragon3602010 Рік тому +1

    Awesome thanks

  • @daveybrown1160
    @daveybrown1160 Рік тому

    Is it possible to enable the scraper only for admins?

    • @cldellow
      @cldellow  Рік тому

      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.

    • @daveybrown1160
      @daveybrown1160 Рік тому

      @@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!