Outils pour utilisateurs

Outils du site


bash:hentai.ms_series_archive

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
bash:hentai.ms_series_archive [2013-05-09 13:18]
mitsu
bash:hentai.ms_series_archive [2013-05-09 15:10] (Version actuelle)
mitsu
Ligne 20: Ligne 20:
 ########  series page URL structure ####### ########  series page URL structure #######
 # #
-#  by default, the script checks manga froma specific series, filtering only english type.  You can check ALL manga (including non-english) by removing "&type=english" from the URL. Also you can check only colored manga by adding "&type=color".+#  by default, the script checks manga from a specific series, filtering only english type.  You can check ALL manga (including non-english) by removing "&type=english" from the URL. Also you can check only colored manga by adding "&type=color".
 ########################################### ###########################################
  
Ligne 46: Ligne 46:
  count=0  count=0
  while read line; do  while read line; do
- wget -q --user-agent="Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" --content-disposition -P "$series" "$line"+ wget -N -q --user-agent="Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0" --content-disposition -P "$series" "$line"
  if [ -f "$series/index.html" ]; then echo "** WARNING: did not download properly: $line"; rm "$series/index.html"; fi  if [ -f "$series/index.html" ]; then echo "** WARNING: did not download properly: $line"; rm "$series/index.html"; fi
  count=$(($count+1))  count=$(($count+1))
Ligne 53: Ligne 53:
  rm 'download.txt'  rm 'download.txt'
  echo "=== finished ! ==="  echo "=== finished ! ==="
 +
 </file> </file>
bash/hentai.ms_series_archive.txt · Dernière modification: 2013-05-09 15:10 de mitsu