Description Usage Arguments Value See Also Examples
Import a ScrapeBot JSON recipe file (.sbj
)
1 | import_sbj(connection, sbj_file, recipe_owner)
|
connection |
A connection object, as retrieved from |
sbj_file |
Character string identifying the recipe. |
recipe_owner |
The email address of the ScrapeBot user who will be the owner of the new recipe as character string. If this one does not exist, it will be created (in this case, a text will be raised). |
The uid
(integer) of the newly created recipe or an integer NA
.
add_recipe()
, add_recipe_step()
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
connection <- connect('my_db on localhost')
import_sbj(
connection,
'https://raw.githubusercontent.com/MarHai/ScrapeBot/master/recipes/find_my_ip.sbj',
'mario@haim.it'
)
disconnect(connection)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.