3 ms·
Far from perfect (regexps on html???), but; it suffices to get latest 22 submissions: wget -q -O - http://news.ycombinator.com/submitted?id=adulau | grep -o
by fragmede 16y ago
Far from perfect (regexps on html???), but; it suffices to get latest 22 submissions:
wget -q -O - http://news.ycombinator.com/submitted?id=adulau | grep -o 'title"><a href="[^"]*" rel="nofollow">[^<]*<' | sed -e 's/title"><a href="\([^"]*\)" rel="nofollow">\([^<]*\)</\2 - \1/'