If you have python and curl you can extract tag and its contents out of html file
curl -s http://www.google.com/ | python3 -c 'import sys; s=sys.stdin.read(); e="<body>"; print(s[s.find(e)+len(e):s.find("</body>")])'
Last active
August 12, 2020 21:35
-
-
Save frainfreeze/6ac7194a3cf940f4341c0fd9d2086f21 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment