abstract-webtools 0.1.5.83__py3-none-any.whl → 0.1.5.85__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- abstract_webtools/managers/seleniumManager.py +14 -2
- {abstract_webtools-0.1.5.83.dist-info → abstract_webtools-0.1.5.85.dist-info}/METADATA +1 -1
- {abstract_webtools-0.1.5.83.dist-info → abstract_webtools-0.1.5.85.dist-info}/RECORD +6 -6
- {abstract_webtools-0.1.5.83.dist-info → abstract_webtools-0.1.5.85.dist-info}/LICENSE +0 -0
- {abstract_webtools-0.1.5.83.dist-info → abstract_webtools-0.1.5.85.dist-info}/WHEEL +0 -0
- {abstract_webtools-0.1.5.83.dist-info → abstract_webtools-0.1.5.85.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@ import os
|
|
2
2
|
from ..abstract_webtools import *
|
3
3
|
from .urlManager import *
|
4
4
|
from urllib.parse import urlparse
|
5
|
+
from abstract_utilities import *
|
5
6
|
from selenium import webdriver
|
6
7
|
from selenium.webdriver.chrome.options import Options
|
7
8
|
import logging
|
@@ -14,10 +15,21 @@ logging.getLogger("urllib3").setLevel(logging.WARNING)
|
|
14
15
|
# Suppress Selenium logs
|
15
16
|
logging.getLogger("selenium").setLevel(logging.WARNING)
|
16
17
|
|
18
|
+
import os
|
19
|
+
from selenium import webdriver
|
20
|
+
from selenium.webdriver.chrome.options import Options
|
21
|
+
|
17
22
|
# Setup Chrome options
|
18
23
|
chrome_options = Options()
|
19
|
-
chrome_options.
|
20
|
-
chrome_options.add_argument("--
|
24
|
+
chrome_options.binary_location = "/home/profiles/solcatcher/.cache/selenium/chrome/linux64/130.0.6723.58/chrome"
|
25
|
+
chrome_options.add_argument("--headless") # Run in headless mode
|
26
|
+
chrome_options.add_argument("--no-sandbox")
|
27
|
+
chrome_options.add_argument("--disable-dev-shm-usage")
|
28
|
+
chrome_options.add_argument("--disable-gpu")
|
29
|
+
chrome_options.add_argument("--disable-software-rasterizer")
|
30
|
+
chrome_options.add_argument("--disable-extensions")
|
31
|
+
chrome_options.add_argument("--remote-debugging-port=9222")
|
32
|
+
|
21
33
|
|
22
34
|
class SingletonMeta(type):
|
23
35
|
_instances = {}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: abstract_webtools
|
3
|
-
Version: 0.1.5.
|
3
|
+
Version: 0.1.5.85
|
4
4
|
Summary: Abstract Web Tools is a Python package that provides various utility functions for web scraping tasks. It is built on top of popular libraries such as `requests`, `BeautifulSoup`, and `urllib3` to simplify the process of fetching and parsing web content.
|
5
5
|
Home-page: https://github.com/AbstractEndeavors/abstract_essentials/tree/main/abstract_webtools
|
6
6
|
Author: putkoff
|
@@ -14,15 +14,15 @@ abstract_webtools/managers/linkManager.py,sha256=m6y9s8jknrTX8RtOAFKeHd4yd23G7Rg
|
|
14
14
|
abstract_webtools/managers/mySocketClient.py,sha256=-j1Q8Ds9RCSbjZdx3ZF9mVpgwxaO0BBssanUcpYVQoY,2045
|
15
15
|
abstract_webtools/managers/networkManager.py,sha256=Op2QDXrP-gmm0tCToe-Ryt9xuOtMppcN2KLKP1WZiu0,952
|
16
16
|
abstract_webtools/managers/requestManager.py,sha256=ZAood3uhs6mi--R8RLTtcNFxACKhu-Jf3m-u4fFMY2Q,17029
|
17
|
-
abstract_webtools/managers/seleniumManager.py,sha256=
|
17
|
+
abstract_webtools/managers/seleniumManager.py,sha256=rrNbzL0sjNI1Pg86TZ744QGFk4x6w7fEJugPQ52__Cw,3500
|
18
18
|
abstract_webtools/managers/soupManager.py,sha256=03qfg4Ww6T3F9HP0F2RoqxZ-jBFhnwE-lS7m3EOcRCI,14717
|
19
19
|
abstract_webtools/managers/sslManager.py,sha256=C-QgQw9CW84uOE5kx2MPjC3RsLbE2JQqdwdTs0H4ecc,1370
|
20
20
|
abstract_webtools/managers/tlsAdapter.py,sha256=XZSMZz9EUOhv-h3_Waf6mjV1dA3oN_M_oWuoo4VZ_HE,1454
|
21
21
|
abstract_webtools/managers/urlManager.py,sha256=OtEBV26RHHuxtbYLLX56AlMv83s9kOIcsDvlMZ9bKZc,8647
|
22
22
|
abstract_webtools/managers/userAgentManager.py,sha256=33SB2p2FG7EYZl7l2iYm1U4gI9PcdkGTZHw5lg_Ogrw,1653
|
23
23
|
abstract_webtools/managers/videoDownloader.py,sha256=6G_aLc05BTMUYUWc7iqYtHF_BaR7DnCNK_NJ-QnjsYY,10531
|
24
|
-
abstract_webtools-0.1.5.
|
25
|
-
abstract_webtools-0.1.5.
|
26
|
-
abstract_webtools-0.1.5.
|
27
|
-
abstract_webtools-0.1.5.
|
28
|
-
abstract_webtools-0.1.5.
|
24
|
+
abstract_webtools-0.1.5.85.dist-info/LICENSE,sha256=g3WEJFiVS27HyCGRTwKSsMLyciMaGFdWcZGOe1QalZk,3877
|
25
|
+
abstract_webtools-0.1.5.85.dist-info/METADATA,sha256=7VI2ALYVVI8LANVbPj57iwbUyNNrghik9WbKg21oIdQ,15858
|
26
|
+
abstract_webtools-0.1.5.85.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
27
|
+
abstract_webtools-0.1.5.85.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
|
28
|
+
abstract_webtools-0.1.5.85.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|