Skip to content

Commit

Permalink
Add duckduck go scrapping scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jul 17, 2024
1 parent 43da8f3 commit 79420dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/scrap-ddg.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
# pip install ddgr
ddgr --json $@
5 changes: 5 additions & 0 deletions examples/scrap-ddgweb.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
URLS=`./scrap-ddg.sh -n 4 $@ |jq '.[].url'`
for URL in ${URLS}; do
eval ./scrap-web.sh ${URL}
done

0 comments on commit 79420dd

Please sign in to comment.