Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
url-checker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
url-checker
Commits
9d1c4e37
Commit
9d1c4e37
authored
Dec 06, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cli: when passing domain/url from command line, drop all the conf file
parent
00e41393
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
urlchecker_cli.py
urlchecker_cli.py
+4
-1
No files found.
urlchecker_cli.py
View file @
9d1c4e37
...
@@ -24,8 +24,11 @@ def runWebBot(sqlite, dns, url, domain, configuration):
...
@@ -24,8 +24,11 @@ def runWebBot(sqlite, dns, url, domain, configuration):
mapping
=
{}
mapping
=
{}
if
url
:
if
url
:
mapping
[
"URL"
]
=
url
mapping
[
"URL"
]
=
url
mapping
[
"DOMAIN"
]
=
""
if
domain
:
if
domain
:
mapping
[
"DOMAIN"
]
=
url
mapping
[
"DOMAIN"
]
=
domain
if
not
url
:
mapping
[
"URL"
]
=
""
if
sqlite
:
if
sqlite
:
mapping
[
"SQLITE"
]
=
sqlite
mapping
[
"SQLITE"
]
=
sqlite
if
dns
:
if
dns
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment