Skip to content

An efficient backend solution, designed for local or cloud hosting. It provides functionalities for movie data search, web scraping, and detailed processing, supporting the Spy-CLI.

License

Notifications You must be signed in to change notification settings

junioralive/spycli-api-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPYCLI-API

This application is the backend for spy-cli provides an interface for searching, fetching, and scraping movie data. It includes endpoints for searching movies from a JSON source, scraping content from web pages, and processing movie and series data.

No server No problem, try spycli-noserver.

Features

  • Search movies from spycli-database JSON dataset.
  • Scrape content for requested content.
  • Process and parse movie and series data.
  • Asynchronous scraping using Pyppeteer.

Getting Started

Prerequisites

  • Python 3.6 or higher
  • pip

Installation

  1. Clone the repository:
    git clone https://github.com/junioralive/spycli-api.git
  2. Navigate to the cloned directory:
    cd spycli-api
  3. Install required packages:
    pip install -r requirements.txt

Running the Application

Run the application using the following command:

python spycli-server.py

The server will start on http://localhost:5000 or http://{your ip}:5000

Usage

Search Movies

  • Endpoint: /search
  • Method: GET
  • Query Parameters:
    • query: The search text for the movie.

Fetch Episode Information

  • Endpoint: /fetch
  • Method: GET
  • Query Parameters:
    • url: The URL to fetch all available links.

Scrape Content

  • Endpoint: /scrape
  • Method: GET
  • Query Parameters:
    • url: The URL to scrape streaming link.

Contributing

Contributions are welcome! For queries, please open an issue first to discuss.

License

MIT

Contact

Discord - junioralive

About

An efficient backend solution, designed for local or cloud hosting. It provides functionalities for movie data search, web scraping, and detailed processing, supporting the Spy-CLI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages