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
cc83755f
Commit
cc83755f
authored
Dec 09, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle bad url
parent
f36903a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
urlchecker_bot.py
urlchecker_bot.py
+3
-1
No files found.
urlchecker_bot.py
View file @
cc83755f
...
@@ -54,7 +54,9 @@ class WebBot:
...
@@ -54,7 +54,9 @@ class WebBot:
# Extract the list of URL domains
# Extract the list of URL domains
url_list
=
self
.
calculateUrlList
()
url_list
=
self
.
calculateUrlList
()
for
url
in
url_list
:
for
url
in
url_list
:
domain_list
.
append
(
getUrlHostname
(
url
))
domain
=
getUrlHostname
(
url
)
if
domain
is
not
None
:
domain_list
.
append
(
domain
)
domain_list
=
list
(
set
(
domain_list
))
domain_list
=
list
(
set
(
domain_list
))
# Expand with all parent domains
# Expand with all parent domains
...
...
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