Skip to main content

A Python project for scraping book info and football results

Project description

arnoldas_a_mod1_atsiskaitymas

Package for scraping book information and football match results from specified websites.

Installation

pip install arnoldas-a-mod1-atsiskaitymas

Usage

A package is using selenium for web scraping and supports data export in CSV and dictionary formats. IMPORTANT. In order to use a package, user needs to install Chrome WebDriver and Update the path in the football_results.py and book_info.py files from path = 'C:\Tools\chromedriver\chromedriver.exe' to yours

Parameters

A package can be run from main, user has to determine:

  • source = "book_info" or "football_results"
  • timeout = in seconds
  • return_format = "dict" or "csv"

Example

from arnoldas_a_mod1_atsiskaitymas.crawler import Crawl

def main():
    source = "book_info"
    timeout = 60
    return_format = "dict"

    results = Crawl(source=source, timeout=timeout, return_format=return_format).web_results()
    if results:
        print("Gauti duomenys:")
        print(results)

if __name__ == "__main__":
    main()

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

arnoldas_a_mod1_atsiskaitymas-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arnoldas_a_mod1_atsiskaitymas-0.1.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file arnoldas_a_mod1_atsiskaitymas-0.1.0.tar.gz.

File metadata

File hashes

Hashes for arnoldas_a_mod1_atsiskaitymas-0.1.0.tar.gz
Algorithm Hash digest
SHA256 40bc119d7f94a0bfb07b272b2f748a1d411ff99826261daf4e4a023addb7c521
MD5 3c3003d5dc8326fffd8b8289ef11fe6b
BLAKE2b-256 878122a0748526edc2babf0af7d9aa8a3d52d0b26dc1524e2d0b1cd916dd3889

See more details on using hashes here.

File details

Details for the file arnoldas_a_mod1_atsiskaitymas-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for arnoldas_a_mod1_atsiskaitymas-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78b7b43341cde859d242bc2932963ab9e490e8140034fb896cf4c138ac1ed5cb
MD5 00dac0f377dcce8614168d9a7524b467
BLAKE2b-256 1d566611d38b3aa1e7a9e8f031c9e632bfe010ef77773abc953c7d4c2e072c53

See more details on using hashes here.

Supported by

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