browserBear 1.0.0__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.
browserBear/__init__.py
ADDED
|
File without changes
|
|
Binary file
|
browserBear/browsers.pyi
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# This file was generated by Nuitka
|
|
2
|
+
|
|
3
|
+
# Stubs included by default
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
from cloakbrowser.download import ensure_binary
|
|
6
|
+
from loguru import logger
|
|
7
|
+
from patchright.async_api import CDPSession, Page, async_playwright
|
|
8
|
+
from typing import Any
|
|
9
|
+
from typing_extensions import Self
|
|
10
|
+
import asyncio
|
|
11
|
+
import json
|
|
12
|
+
import random
|
|
13
|
+
|
|
14
|
+
class CloudflareBypasser:
|
|
15
|
+
def __init__(self: Self, page: Page, max_retries: int, log: bool) -> None: ...
|
|
16
|
+
def log_message(self: Self, message: str) -> Any: ...
|
|
17
|
+
@staticmethod
|
|
18
|
+
def _node_has_attr(node: dict, attr_name: str, value_fragment: str) -> bool: ...
|
|
19
|
+
def _search_node(self: Self, node: dict, predicate: Any) -> Any: ...
|
|
20
|
+
def _search_all(self: Self, node: dict, predicate: Any, out: list) -> Any: ...
|
|
21
|
+
def _find_parent_with_shadow(self: Self, node: dict, root: dict) -> Any: ...
|
|
22
|
+
|
|
23
|
+
class StealthBrowser:
|
|
24
|
+
|
|
25
|
+
__name__ = ...
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# Modules used internally, to allow implicit dependencies to be seen:
|
|
30
|
+
import asyncio
|
|
31
|
+
import random
|
|
32
|
+
import loguru
|
|
33
|
+
import patchright
|
|
34
|
+
import patchright.async_api
|
|
35
|
+
import cloakbrowser
|
|
36
|
+
import cloakbrowser.download
|
|
37
|
+
import json
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: browserBear
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A protected browser automation library.
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: cloakbrowser[patchright]>=0.3.31
|
|
8
|
+
Requires-Dist: loguru>=0.7.3
|
|
9
|
+
Requires-Dist: patchright>=1.60.0
|
|
10
|
+
|
|
11
|
+
## This repo for building compiled files for browserBear
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
browserBear/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
browserBear/browsers.cpython-312-x86_64-linux-gnu.so,sha256=GRvcu3af0BUbtkWEVuLxgJjS8m_AgDoU7uxuYtcUinw,1081712
|
|
3
|
+
browserBear/browsers.pyi,sha256=oqeaxOBHn-azPBsxEPuDaAlIpCkQf0wKRKkCaJCY100,1110
|
|
4
|
+
browserbear-1.0.0.dist-info/METADATA,sha256=hrbcKlUuU49UqAnlJ7jCySiRrcunXRmMxceczcHBxxs,337
|
|
5
|
+
browserbear-1.0.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
6
|
+
browserbear-1.0.0.dist-info/top_level.txt,sha256=-kgkbV62e6JTTSOCynnHC5IW79w2AYY7cGLoTONOa2Q,12
|
|
7
|
+
browserbear-1.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
browserBear
|