From e7dd68abc20b175c02846ad18c8afabbc33d51d1 Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 12 Dec 2016 03:02:39 +0100 Subject: Fix bot4chan firt argument download --- bot4chan.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bot4chan.py') 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 = '(File : |File)(.*?)' regex = '' os.system("mkdir -p dump") -- cgit v1.2.3