View Single Post
Posts: 219 | Thanked: 94 times | Joined on Nov 2009 @ Helsinki, Finland
#31
Originally Posted by omeriko9 View Post
any idea for a script (probably using wget) to fetch the number of apps as appear at the maemo.org homepage
(bolded, next to "Downloads for Maemo5 116" )?

Not that it changes too much, but who knows...
Take my script above, and change the wget URL to be http://maemo.org/downloads/Maemo5/. Awk / sed command could be following:

awk '/Downloads for Maemo5/ {print $0}' | \
sed 's/.*downloads\/list\/Maemo5\/all">\([0-9]*\).*/\1/'


...and still very bad at script writing. And still very upset for someone stealing my phone last weekend... Mother****er!
__________________
Ham > Turkey
 

The Following User Says Thank You to naabi For This Useful Post: