Daily Shaarli

All links of one day in a single page.

July 4, 2013

F-Droid

The F-Droid Repository is an easily-installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The server contains the details of multiple versions of each application, and the Android client makes it easy to browse, install them onto your device, and keep track of updates.

Market alternatif pour Android

OpenWeatherMap - actual and forecast weather.

Site météo open source

Crawler un site Web avec wget

wget -rkpE <uri> est la commande pour crawler un site et recréer les liens localement.

wget --no-clobber --convert-links --random-wait -r -p -E -e robots=off -U mozilla http://site/path/

Mieux :

wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=windows -c --no-parent -w 2 --random-wait -e robots=off --header="Accept: text/html" --user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0" --domains mon_site.com https://www.mon_site.com

Si une identification est nécessaire

Log in to the server. This only needs to be done once.

wget --save-cookies cookies.txt \
     --keep-session-cookies \
     --post-data 'user=foo&password=bar' \
     --delete-after \
     http://server.com/auth.php

Mieux utilier "Copy as cURL" in the Network tab of Developer Tools (reload the page after opening) et remplacer -H par --header et --data par --post-data.

Now grab the page or pages we care about.

wget --load-cookies cookies.txt \
     http://server.com/interesting/article.php