Advertisement
metalx1000

Tenor Image Search

Sep 3rd, 2024 (edited)
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. # Tenor Image Search
  2.  
  3. #scraping
  4. read -p "Enter Image Search: " q
  5. wget "https://tenor.com/search/"$q"" -O- |sed 's/>/>\n/g;s/</\n</g'|grep appConfig|tr "," "\n"|grep '"tinygif"'|cut -d\" -f6|sed 's|\\u002F|/|g'
  6.  
  7. #using API
  8. # https://tenor.com/gifapi/documentation#quickstart-setup
  9. curl "https://g.tenor.com/v1/search?q=linux&key=LIVDSRZULELA&limit=8"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement