Socket
Socket
Sign inDemoInstall

scrape-api

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    scrape-api

A Python wrapper for Reddit scraping API.


Maintainers
1

Readme

Scrapeit

scrape-api is sponsored by:

Description

Python wrapper for REST API to scrape and retrieve data from Reddit for the given keyword.

Installation

Download using pip via pypi.

$ pip install scrape-api

Getting started

Import:

>>> from scrape-api import Scrape

Create an object of Scrape.

>>> scraper = Scrape(username='username', password='password')

Search for a new keyword.

>>> search_results = scraper.new_search(keyword='zoro')

Retrieve results from previous searches.

>>> previous_results = scraper.get_previous_results()

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc