Skip to main content

Web Scraping Library

Project description

Title

nih Scraper

Descrption

  • With nih Scraper you can scrape search results and extract the contents produced by the search result.
  • In nih scraper it will scrape the data present of the website and give json data which contains the details of the contents on the website.

JSON sample data

{
    "Scraper_NIH": [
        {
            "blank_link": "https://www.pbs.org/wnet/amanpour-and-company/video/nih-director-our-culture-wars-are-killing-people/",
            "element_invisible_link": "/collins/20211103-dc-amanpour.jpg",
            "file_image": "20211103-dc-amanpour.jpg",
            "teaser_title": "In conversation with Walter Isaacson, Dr. Collins discusses a variety of topics including his decision to step down as NIH director, COVID-19 vaccines, and the Human Genome Project(link is external)",
            "time": "November 3, 2021"
        }

Click Here for more

Run Scraper

from nih_scraper import *
link="https://www.nih.gov/about-nih/what-we-do/nih-almanac"
data=run_nih_scraper(link)

How it works?

  • It takes URL of nih page with a search keyword to scrape the data.
  • It generates the json data which contains the information of the nih search result.
  • It gives the every detail present inside website in the form of json data.

Examples

Below are some of the examples of URLs using which you can scrape:

Queries/ Feedback

If you have some queries or feedback please contact us at following
Telegram
Email

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nih_scraper-1.0.0.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file nih_scraper-1.0.0.tar.gz.

File metadata

  • Download URL: nih_scraper-1.0.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for nih_scraper-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9cf41ca3bf985588c9d032de7df17c7a013bf9d53d86b18c84e5d62d6a7b0bb0
MD5 884639342e54833bce636a5d09ddb351
BLAKE2b-256 d0b1b2ec0de62671cf12bc7de54d02f0ea912e2bcb2ce5c91786970e87a4eba5

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page