{"id":37064547,"url":"https://github.com/anubhav4sachan/bing-scraper","last_synced_at":"2026-01-14T07:32:41.899Z","repository":{"id":57415123,"uuid":"138770607","full_name":"anubhav4sachan/bing-scraper","owner":"anubhav4sachan","description":"The bingscraper is python3 package which extracts the text and images content on search engine 'bing.com'","archived":false,"fork":false,"pushed_at":"2021-06-30T01:46:08.000Z","size":39,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-03T13:12:55.785Z","etag":null,"topics":["html","package","parser","pypi","python","scraper","scraping-websites"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anubhav4sachan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-26T17:24:57.000Z","updated_at":"2024-12-24T16:20:30.000Z","dependencies_parsed_at":"2022-09-01T16:25:45.690Z","dependency_job_id":null,"html_url":"https://github.com/anubhav4sachan/bing-scraper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anubhav4sachan/bing-scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anubhav4sachan%2Fbing-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anubhav4sachan%2Fbing-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anubhav4sachan%2Fbing-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anubhav4sachan%2Fbing-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anubhav4sachan","download_url":"https://codeload.github.com/anubhav4sachan/bing-scraper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anubhav4sachan%2Fbing-scraper/sbom","scorecard":{"id":199995,"data":{"date":"2025-08-11","repo":{"name":"github.com/anubhav4sachan/bing-scraper","commit":"cb6cabb9aee3006cce85a23ecea1a12ce435a742"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":7,"reason":"binaries present in source code","details":["Warn: binary detected: dist/bingscraper-1.0-py3-none-any.whl:1","Warn: binary detected: dist/bingscraper-2.0-py3-none-any.whl:1","Warn: binary detected: dist/bingscraper-3.0-py3-none-any.whl:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T22:38:55.216Z","repository_id":57415123,"created_at":"2025-08-16T22:38:55.216Z","updated_at":"2025-08-16T22:38:55.216Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["html","package","parser","pypi","python","scraper","scraping-websites"],"created_at":"2026-01-14T07:32:41.378Z","updated_at":"2026-01-14T07:32:41.889Z","avatar_url":"https://github.com/anubhav4sachan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿﻿﻿﻿\n # Bing Scraper\n\nThe bingscraper is python3 package which extracts the text and images content on search engine `bing.com`.\n\nIt 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.\n\nThe 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.\n\n## Requirements\n1.\tModules:\n\n    a. `requests`: For requesting content through two HTTPS Methods: `GET` and `POST`. Used `GET` Method.\n        \n    b. `BeautifulSoup`: For creating JSON like dictionary using HTML Parser. Package uses `bs4`.\n    \n    c. `os`: For checking and making directories.\n    \n    d. `PIL.Image`: `Pillow Module`. For extracting image content.\n    \n    e. `io.ByteIO`: For saving the extracted image using the `PIL.Image`.\n\n2.\tInternet 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.\n\n3.  Python: Version 3.6.4 or above. This package is written in `python 3.6.4`\n\n## Installation\n\nFor python installation:\n\n`pip install bingscraper`\nor \n`python -m pip install bingscraper`\n\nFor Anaconda installation:\n\n`conda install bingscraper`\n\n\n## How to use\n\nInstall the above modules. Successful import of `bingscraper` depends only after the above imports.\n\nSample code in python:\n\n`import bingscraper as bs`\n\n`search = str(input())`\n\n`bs.scrape(search).text()    #For Text Scraping.`\n\n`bs.scrape(search).image()   #For Image Scraping.`\n\nOR\n\n`from bingscraper import scrape`\n\n`search = str(input())`\n\n`scrape(search).text()    #For Text Scraping.`\n\n`scrape(search).image()   #For Image Scraping.`\n\n###### `scrape()` takes a string argument and the `.text()` or `.image()` does the scraping work.\n\n# How to cite the project?\n\nIf the tool has been helpful to you and wish to cite it, you're requested to cite it as follows:\n\n```\n@misc{sachan2018bingscraper,\n      title={bingscraper • pypi},\n      author={Sachan, Anubhav},\n      year={2018},\n      url={https://pypi.org/project/bingscraper/}\n}\n```\n\nFor other formats, [cite as per Google Scholar](https://scholar.google.com/scholar?cluster=12184846436547447644\u0026hl=en\u0026oi=scholarr#d=gs_cit\u0026u=%2Fscholar%3Fq%3Dinfo%3AXEsYpUZFGakJ%3Ascholar.google.com%2F%26output%3Dcite%26scirp%3D0%26scfhb%3D1%26hl%3Den)\n\n### Change Log\n\n#### Version 2.0: \n\nSeparated `.text()` and `.image()`. Use as per requirement.\n\n#### Version 3.0:\n\nMinor Changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanubhav4sachan%2Fbing-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanubhav4sachan%2Fbing-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanubhav4sachan%2Fbing-scraper/lists"}