Screenshot of a site then conversion to image in the database

(Sorry in advance I am French I automatically translate my request below with google so sorry for the errors of expression)

Hello,
I need your help.
I created a database with website urls.
I would like to know if it is possible to recover, thanks to code, the screenshot of each site in computer and smartphone version to integrate it into an image column of my database, but that it be done automatically?

You can install the screenshot npm (on the packages section) to retrieve the screenshot and update the item in your collection.
Create an afterUpdate hook for your collection.
Once the url has been updated update the item (suppress the hooks this time)

Thank you very much for your answer
Can you tell me how we do this please?

See:
Installing packages:
https://support.wix.com/en/article/velo-working-with-npm-packages
(and go over the README file of the specific package for instructions)

Using data hooks:
https://support.wix.com/en/article/velo-about-data-hooks
https://www.wix.com/velo/reference/wix-data/hooks/afterupdate

Updating an item:
https://www.wix.com/velo/reference/wix-data/update

I will try to build her.
Thanks again.
Have a good day