Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ##########
- # CHANGE URL IN CLIPBOARD INTO ADFLY URL
- # autor:wytrzeszcz
- #
- key="key for api"
- uid="uid for api"
- url=`xclip -o -selection clipboard | grep -oiE "http[s]?://[^ \"\'><]*[[:space:]]*"` &&
- curl "http://api.adf.ly/api.php?key=$key&uid=$uid&advert_type=int&domain=adf.ly&url=$url" |
- xclip -i -selection clipboard
Add Comment
Please, Sign In to add comment