Skip to main content

screenapi-cli

Installation

python -m pip install screenapi-cli

screenapi-cli --help

Step 1 - setup cli

screenapi-cli setup --api-url "<api-url>" --api-key "<api-key>" --max_workers 15

check all options with screenapi-cli setup --help

Step 2 - start scraping

touch urls.txt # create a urls.txt file and add urls, one line == one url

screenapi-cli scrape urls.txt #

check all options with screenapi-cli scrape --help

Step 3 - export to excel sheet

screenapi-cli export --input-dir "<path to scraper's output>" # check below
  • example : scraped flipkart urls, and export execl file in default location

    screenapi-cli export --input-dir "flipkart" # `flipkart` will convert into `/path/to/screenapi-cli/config/output/flipkart` and --output-file will be `/path/to/screenapi-cli/config/output/flipkart.xlsx` and --sort-by will be `sl`
    
  • example: custom input-dir , custom output-file

    screenapi-cli export --input-dir "~/Downloads/scraped" --output-file "./flipkart.xlsx"
    

command: screenapi-cli list

[default]
output_dir = /path/to/output
max_workers = 15
api_url = *****************
api_key = *************************
namespace = ******-****-****-****-*********
export_dir = /path/to/export

check all options with screenapi-cli export --help

Metadata

Release files for screenapi-cli 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for screenapi-cli 0.1.6
File Size Uploaded
screenapi_cli-0.1.6.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for screenapi-cli 0.1.6
File Interpreter ABI Platform
screenapi_cli-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 28.1 kB

Release files / screenapi_cli-0.1.6.tar.gz

Download URL screenapi_cli-0.1.6.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c3f0cbcff6b8bd0a6719520e207b48d479d05bd8f4a5ca094cc5f3f057da5d95
BLAKE2b-256 checksum
How to use checksums
68a23de46b8e7d050fce30f2b0af96bd543f8b7d90f5a64333dba747acb85d40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.2 Linux/6.1.0-20-amd64

Release files / screenapi_cli-0.1.6-py3-none-any.whl

Download URL screenapi_cli-0.1.6-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0afe484cde7406284bb3670898b9c1676e101d7782e697be501a4293dd780c8b
BLAKE2b-256 checksum
How to use checksums
36769f6d7ceb53f3430d5dfa637a1d71e698c46762a8709e52ff563927ee7089
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.2 Linux/6.1.0-20-amd64
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page