View Single Post
merlin1991's Avatar
Posts: 125 | Thanked: 1,142 times | Joined on Feb 2010 @ Austria
#23
If one wants to grab the media files aswell, this snipped worked for me (all the media files are in the xml that comes from maemo_wiki_file.txt):
Code:
egrep "<title>File:[^<]+</title>" $XMLFILEFROMFILETXT | cut -d ':' -f 2 | cut -d '<' -f 1 > $SOMEFILE

while read line; do curl -GL -o "$line" "http
://wiki.maemo.org/index.php?title=Special:FilePath&file=$line"; done < $SOMEFILE
__________________
"Fog is neither water nor air, it's something between." Merlin
 

The Following 8 Users Say Thank You to merlin1991 For This Useful Post: