apify 2.2.1b3__py3-none-any.whl → 2.2.1b5__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.
Potentially problematic release.
This version of apify might be problematic. Click here for more details.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: apify
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.1b5
|
|
4
4
|
Summary: Apify SDK for Python
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Keywords: apify,sdk,automation,chrome,crawlee,crawler,headless,scraper,scraping
|
|
@@ -75,10 +75,11 @@ Below are few examples demonstrating how to use the Apify SDK with some web scra
|
|
|
75
75
|
This example illustrates how to integrate the Apify SDK with [HTTPX](https://www.python-httpx.org/) and [BeautifulSoup](https://pypi.org/project/beautifulsoup4/) to scrape data from web pages.
|
|
76
76
|
|
|
77
77
|
```python
|
|
78
|
-
from apify import Actor
|
|
79
78
|
from bs4 import BeautifulSoup
|
|
80
79
|
from httpx import AsyncClient
|
|
81
80
|
|
|
81
|
+
from apify import Actor
|
|
82
|
+
|
|
82
83
|
|
|
83
84
|
async def main() -> None:
|
|
84
85
|
async with Actor:
|
|
@@ -123,8 +124,9 @@ async def main() -> None:
|
|
|
123
124
|
This example demonstrates how to use the Apify SDK alongside `PlaywrightCrawler` from [Crawlee](https://crawlee.dev/python) to perform web scraping.
|
|
124
125
|
|
|
125
126
|
```python
|
|
126
|
-
from
|
|
127
|
-
|
|
127
|
+
from crawlee.crawlers import PlaywrightCrawler, PlaywrightCrawlingContext
|
|
128
|
+
|
|
129
|
+
from apify import Actor
|
|
128
130
|
|
|
129
131
|
|
|
130
132
|
async def main() -> None:
|
|
@@ -32,7 +32,7 @@ apify/scrapy/utils.py,sha256=758DcHCSAgCTProY0QX74uJ1XrzVsQwvCmFanj2f_3Q,2928
|
|
|
32
32
|
apify/storages/__init__.py,sha256=FW-z6ubuPnHGM-Wp15T8mR5q6lnpDGrCW-IkgZd5L30,177
|
|
33
33
|
apify/storages/_request_list.py,sha256=-lZJcE5nq69aJhGFJ7Sh2ctqgAWUDyOwYm5_0y1hdAE,5865
|
|
34
34
|
apify/storages/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
|
-
apify-2.2.
|
|
36
|
-
apify-2.2.
|
|
37
|
-
apify-2.2.
|
|
38
|
-
apify-2.2.
|
|
35
|
+
apify-2.2.1b5.dist-info/LICENSE,sha256=AsFjHssKjj4LGd2ZCqXn6FBzMqcWdjQre1byPPSypVw,11355
|
|
36
|
+
apify-2.2.1b5.dist-info/METADATA,sha256=g-64t1mAzPxFuaqnuFjWv7RqHlRf5nXiGkrf4Rg56qA,8696
|
|
37
|
+
apify-2.2.1b5.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
38
|
+
apify-2.2.1b5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|