Skip to content

Commit

Permalink
update default chrome options
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriiweb committed Feb 16, 2024
1 parent bd9dcf1 commit 6dafd5d
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 46 deletions.
2 changes: 1 addition & 1 deletion extract_emails/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "5.3.2"
__version__ = "5.3.3"
from .factories import (
ContactFilterAndEmailAndLinkedinFactory,
ContactFilterAndEmailFactory,
Expand Down
6 changes: 5 additions & 1 deletion extract_emails/browsers/chrome_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,13 @@ class ChromeBrowser(PageSourceGetter):
"--disable-gpu",
"--disable-software-rasterizer",
"--disable-dev-shm-usage",
"--window-size=1920x1080",
"--window-size=1920,1080",
"--disable-setuid-sandbox",
"--no-sandbox",
"--start-maximized",
"--no-default-browser-check",
"--no-first-run",
"--test-type",
}
wait_seconds_after_get = 0

Expand Down
88 changes: 44 additions & 44 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
[tool.poetry]
name = "extract-emails"
version = "5.3.2"
version = "5.3.3"
description = "Extract email addresses and linkedin profiles from given URL."
authors = ["Dmitrii Kurlov <[email protected]>"]
license = "MIT"
readme="README.md"
repository="https://github.com/dmitriiweb/extract-emails"
documentation="https://dmitriiweb.github.io/extract-emails"
keywords=["parser", "email", "linkedin"]
readme = "README.md"
repository = "https://github.com/dmitriiweb/extract-emails"
documentation = "https://dmitriiweb.github.io/extract-emails"
keywords = ["parser", "email", "linkedin"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Utilities",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Utilities",
]

[tool.poetry.dependencies]
python = ">=3.9,<3.13"
pydantic = "^2.5.3"
loguru = "^0.5.3"
click = "^8.1.7"
requests = {version = "^2.31.0", optional = true}
selenium = {version = "^4.9", optional = true}
requests = { version = "^2.31.0", optional = true }
selenium = { version = "^4.9", optional = true }

[tool.poetry.group.dev.dependencies]
pytest = "^6.2.5"
Expand Down Expand Up @@ -63,32 +63,32 @@ build-backend = "poetry.core.masonry.api"
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]

# Same as Black.
Expand Down

0 comments on commit 6dafd5d

Please sign in to comment.