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
PyPI Link: https://pypi.org/project/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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arnoldas_a_mod1_atsiskaitymas-0.1.3.tar.gz.
File metadata
- Download URL: arnoldas_a_mod1_atsiskaitymas-0.1.3.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06c61d995a3c0aafa6a8304a7ca96915a6b10e14b7ccfe3ccd36c8d84d10d58f
|
|
| MD5 |
d7957c3413938abce923d65f1e014077
|
|
| BLAKE2b-256 |
81ddc0da2b6f66e73a06170510592abf2daef93f42be5c43c9380c09ef449b6f
|
File details
Details for the file arnoldas_a_mod1_atsiskaitymas-0.1.3-py3-none-any.whl.
File metadata
- Download URL: arnoldas_a_mod1_atsiskaitymas-0.1.3-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cafc9517a4954f451dc85486bb5d8ad09fcb982463535db4efede385aa0e6da
|
|
| MD5 |
0a08709dd32ff95571bca542bca3d848
|
|
| BLAKE2b-256 |
6e6bc66b8b108c35d4e12cbc1a33a14dd76452661b235eab4be265aeafcbcdef
|