- 
# Bing Scraper
The bingscraper is python3 package which extracts the text and images content on search engine bing.com.
It helps the user in a way that he/she will be getting only meaningful results and images for their search query. It does not download the ad content and hence saving data for the user.
The script working in background requests for a search term and creates directory (if not made previously) in the root directory of the script where all the content of the related particular search is stored. This script will be downloading the hypertext and hyperlink to that text and saving it to a .txt file within the directory made by itself. This directory saves the text content as well as the images downloaded using the script.
## Requirements 1. Modules:
requests: For requesting content through two HTTPS Methods: GET and POST. Used GET Method.
BeautifulSoup: For creating JSON like dictionary using HTML Parser. Package uses bs4.
os: For checking and making directories.
PIL.Image: Pillow Module. For extracting image content.
io.ByteIO: For saving the extracted image using the PIL.Image.
Internet Connection: Continuous high speed internet connection is required for the proper function of the python package as it continuously creates the copy of the images into the local machine.
Python: Version 3.6.4 or above. This package is written in python 3.6.4
## How to use
Install the above modules. Successful import of bingscraper depends only after the above imports.
Sample code in python:
import bingscraper as bs
search = str(input())
bs.scrape(search).text() #For Text Scraping.
bs.scrape(search).image() #For Image Scraping.
scrape() takes a string argument and the .text() or .image() does the scraping work.
Metadata
Release files for bingscraper 3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bingscraper-3.0.tar.gz | 2.9 kB | Without provenance | Details for bingscraper-3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bingscraper-3.0-py3-none-any.whl | Python 3 | none | any | Details for bingscraper-3.0-py3-none-any.whl |
Total release size: 8.4 kB
Release files / bingscraper-3.0.tar.gz
| Download URL | bingscraper-3.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf851fdda209b509a0569925c1b5fc9e11a0df6e1e2d304d6ba9ffa69e137425
|
|
BLAKE2b-256 checksum How to use checksums |
e2e1b8302f5dcf8470f71573e974aeccb9248e0f3478b7adbdd45f39adc5b9f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / bingscraper-3.0-py3-none-any.whl
| Download URL | bingscraper-3.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee605c543a353d41e752af832d92601b31b0587f889b495929b6bcb6d6a57559
|
|
BLAKE2b-256 checksum How to use checksums |
9fb9d0b739f2fb21c4f28fe0597ab4b1a43008640886b766cb94574921b79145
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bingscraper 3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.