Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
scrapers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GSHS Utilities
scrapers
Commits
a9c1b01c
Commit
a9c1b01c
authored
10 months ago
by
Grant
Browse files
Options
Downloads
Patches
Plain Diff
updates to remove ei references
parent
9845c074
Branches
develop
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
scrapers/exceptions.py
+8
-0
8 additions, 0 deletions
scrapers/exceptions.py
scrapers/webdriver.py
+1
-1
1 addition, 1 deletion
scrapers/webdriver.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
10 additions
and
2 deletions
scrapers/exceptions.py
0 → 100644
+
8
−
0
View file @
a9c1b01c
"""
Exceptions to Use
"""
class
ParserError
(
Exception
):
"""
Custom exception class to handle Selenium webdriver crashes.
"""
def
__init__
(
self
,
message
=
"
The Selenium webdriver has crashed
"
):
super
().
__init__
(
message
)
This diff is collapsed.
Click to expand it.
scrapers/webdriver.py
+
1
−
1
View file @
a9c1b01c
...
...
@@ -22,7 +22,7 @@ from selenium.common.exceptions import StaleElementReferenceException
from
selenium.common.exceptions
import
NoSuchWindowException
from
selenium.common.exceptions
import
TimeoutException
from
urllib3.exceptions
import
HTTPError
,
ConnectionError
from
ei
.exceptions
import
ParserError
from
scrapers
.exceptions
import
ParserError
from
rich.logging
import
RichHandler
from
rich.traceback
import
install
install
()
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
a9c1b01c
...
...
@@ -5,7 +5,7 @@ import os
from
setuptools
import
setup
# update version information here
_version
=
'
0.1.
1
'
_version
=
'
0.1.
5
'
# packages
_packages
=
[
'
scrapers
'
,
'
scrapers.mixins
'
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment