Skip to content

Commit

Permalink
mitinoprice: fix html parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
lexszero committed Mar 12, 2015
1 parent 863006b commit 3f155d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion s-10mitino.narod.ru/mitinoprice
@@ -1,2 +1,4 @@
#!/bin/sh #!/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.