Skip to content

Commit 8a54745

Browse files
authored
v0.3.3 (#84)
2 parents fac92ef + f3a1f1e commit 8a54745

File tree

4 files changed

+2
-18
lines changed

4 files changed

+2
-18
lines changed

scrapling/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Karim Shoair ([email protected])"
2-
__version__ = "0.3.2"
2+
__version__ = "0.3.3"
33
__copyright__ = "Copyright (c) 2024 Karim Shoair"
44

55

scrapling/engines/_browsers/_camoufox.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,6 @@ def __create__(self):
173173
**self.launch_options
174174
)
175175

176-
# Get the default page and close it
177-
default_page = self.context.pages[0]
178-
default_page.close()
179-
180176
if self.init_script: # pragma: no cover
181177
self.context.add_init_script(path=self.init_script)
182178

@@ -482,10 +478,6 @@ async def __create__(self):
482478
**self.launch_options
483479
)
484480

485-
# Get the default page and close it
486-
default_page = self.context.pages[0]
487-
await default_page.close()
488-
489481
if self.init_script: # pragma: no cover
490482
await self.context.add_init_script(path=self.init_script)
491483

scrapling/engines/_browsers/_controllers.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,6 @@ def __create__(self):
168168
else:
169169
self.context = self.playwright.chromium.launch_persistent_context(user_data_dir="", **self.launch_options)
170170

171-
# Get the default page and close it
172-
default_page = self.context.pages[0]
173-
default_page.close()
174-
175171
if self.init_script: # pragma: no cover
176172
self.context.add_init_script(path=self.init_script)
177173

@@ -421,10 +417,6 @@ async def __create__(self):
421417
user_data_dir="", **self.launch_options
422418
)
423419

424-
# Get the default page and close it
425-
default_page = self.context.pages[0]
426-
await default_page.close()
427-
428420
if self.init_script: # pragma: no cover
429421
await self.context.add_init_script(path=self.init_script)
430422

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = scrapling
3-
version = 0.3.2
3+
version = 0.3.3
44
author = Karim Shoair
55
author_email = [email protected]
66
description = Scrapling is an undetectable, powerful, flexible, high-performance Python library that makes Web Scraping easy and effortless as it should be!

0 commit comments

Comments
 (0)