diff options
-rwxr-xr-x | bot4chan.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bot4chan.py b/bot4chan.py index 5186697..736ad6e 100755 --- a/bot4chan.py +++ b/bot4chan.py @@ -6,7 +6,9 @@ import re, os, sys sujet = [] sujetT = [] -#os.system("wget " + sys.argv[1] + " -O index.html -N -q") +os.system("wget " + sys.argv[1] + " -O index.html -N -q") +os.system("sed -i 's/<\\/a>/<\\/a>\\n/g' index.html") + regex = '<span class="filesize">(File : |File)<a href="(.*?)" target="_blank">(.*?)</a>' regex = '<a class="fileThumb" href="(.*?)" target="_blank">' os.system("mkdir -p dump") |