Permalink
Browse files

mitinoprice: fix html parsing

  • Loading branch information...
lexszero committed Mar 12, 2015
1 parent 863006b commit 3f155d65f06863fef8e4cad85428bac2c63dc3fc
Showing with 3 additions and 1 deletion.
  1. +3 −1 s-10mitino.narod.ru/mitinoprice
@@ -1,2 +1,4 @@
#!/bin/sh
curl -s 'http://s-10mitino.narod.ru/prais.htm' | iconv -f cp1251 | sed -ne 's!.*S-10\.xls"> *\(.*\) *</a.*!\1!p'
curl -s 'http://s-10mitino.narod.ru/prais.htm' |
enconv |
sed -rne 's#^<a name=pos>\s*(.*)</a>.*$#\1#p'

0 comments on commit 3f155d6

Please sign in to comment.