contentfetch-0.0.5
توضیحات
Extracting the content from the webpage
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | contentfetch-0.0.5 |
| نام | contentfetch |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | aidotio |
| ایمیل نویسنده | neneranadheer@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/contentfetch/ |
| مجوز | - |
# content-fetch
This package helps you parse the text from the webpage. The input to the function can be a path to an HTML file on your disk or a URL to a web page.
You can install the package by running the following command
```
pip install contentfetch
```
Please refer to the code snippet for parsing the text from the HTML file
```
import contentfetch
results_json = contentfetch.extract_content(html=<html_file>)
results_json
### OR
from contentfetch import extract_content
results_json = extract_content(html=<html_file>)
results_json
```
Please refer to the code snippet for parsing the text from the webpage through URL
```
import contentfetch
results_json = contentfetch.extract_content(url=<webpage_url>)
results_json
### OR
from contentfetch import extract_content
results_json = extract_content(url=<webpage_url>)
results_json
```
نیازمندی
| مقدار | نام |
|---|---|
| - | beautifulsoup4 |
| - | chromedriver-binary |
| - | fake-useragent |
| - | news-please |
| - | newspaper3k |
| - | pandas |
| - | requests |
| - | selenium |
| - | unidecode |
نحوه نصب
نصب پکیج whl contentfetch-0.0.5:
pip install contentfetch-0.0.5.whl
نصب پکیج tar.gz contentfetch-0.0.5:
pip install contentfetch-0.0.5.tar.gz