fix cookie parsing bug, fix filters bug
This commit is contained in:
parent
875a8fd18e
commit
1de1574bd2
@ -21,7 +21,7 @@ def findDefaultProfile(path):
|
||||
posDot = ms.skipAfterChar(directory,'.')
|
||||
stringParse = ms.dropBeforePos(directory,posDot)
|
||||
log(stringParse)
|
||||
if stringParse == "default":
|
||||
if stringParse == "default-release":
|
||||
target = directory
|
||||
break;
|
||||
if target == '':
|
||||
|
@ -40,6 +40,7 @@ def parse(**kwargs):
|
||||
parser.add_argument("--login",nargs=3,help = "login by specifing login and passwor by a given url",metavar=('USERNAME','PASSWORD','URL'))
|
||||
parser.add_argument("--createnwview",help = "Create a VIEW for the Region Nordwest Schweiz",action="store_true")
|
||||
parser.add_argument("-VC","--ValidationCheck",help = "Check if links are still valid, if not remove them",action="store_true")
|
||||
parser.add_argument("--initFilters",help = "insert filters table",action="store_true")
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.test:
|
||||
@ -48,6 +49,7 @@ def parse(**kwargs):
|
||||
importdb("../db/sqlite3.db","../db/Cantons.db","Cantons")
|
||||
if args.initdb:
|
||||
initdb("../db/sqlite3.db")
|
||||
createFilterTable("../db/sqlite3.db")
|
||||
if args.rmdb:
|
||||
rmdb("../db/sqlite3.db","jobs")
|
||||
if args.login:
|
||||
@ -60,6 +62,9 @@ def parse(**kwargs):
|
||||
createnwview("../db/sqlite3.db")
|
||||
if args.ValidationCheck:
|
||||
isStillValid("../db/sqlite3.db")
|
||||
if args.initFilters:
|
||||
createFilterTable("../db/sqlite3.db")
|
||||
|
||||
if len(kwargs)>0:
|
||||
print("no sysargs fiven, running as a module")
|
||||
vconfig = kwargs.get('config')
|
||||
|
@ -2,8 +2,10 @@ beautifulsoup4==4.12.3
|
||||
httplib2==0.22.0
|
||||
mmh3==4.1.0
|
||||
#PySide6==6.7.1
|
||||
#PySide6==6.7.2
|
||||
PySide6==6.7.2
|
||||
#PySide6.egg==info
|
||||
#PySide6_Addons==6.7.1
|
||||
#PySide6_Essentials==6.7.1
|
||||
Requests==2.32.3
|
||||
requests_html
|
||||
lxml_html_clean
|
||||
|
Loading…
Reference in New Issue
Block a user