Created
January 14, 2022 14:15
-
-
Save Rady/5ebace733c24bc4db7083813da1421d8 to your computer and use it in GitHub Desktop.
use cat, grep, sed extract all links from file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat webpage.html | grep -o 'href="/watch/[0-9]*-full[^"]*' | sed -e 's/href="/ /g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment