Created
April 19, 2014 17:46
-
-
Save amferraz/11091802 to your computer and use it in GitHub Desktop.
This is a toy script I made to find artists without the letter "A" in his name. The regex might need some improvement
This file contains 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
#!/bin/bash | |
# This scripts prints artists from top 1000 from letras.mus.br | |
# whose name does not contains the 'a' letter. | |
# Requires package html-xml-utils | |
curl http://letras.mus.br/top-artistas/ | \ | |
hxnormalize -l 240 -x | \ | |
hxselect -s '\n' -c "#cnt_top > div.left > div > div > ol > li > a > span" | \ | |
grep -vi '[aáàãä]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment