Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- policy_string=""
- echo > chrome-extensions
- for itemid in $(echo $policy_string | tr ',' ' '); do
- echo $itemid >> /h/chrome-extensions;
- /c/Program\ Files\ \(x86\)/Google/Chrome/Application/chrome.exe --headless --dump-dom "https://chrome.google.com/webstore/detail/$itemid" | tee body &> /dev/null
- cat body | grep -o "<meta property=\"og:title\" content=\".*> " | cut -d '"' -f4 >> /h/chrome-extensions
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement