No project description provided
Project description
BasketballCrawler
Welcome to the Python package designed for web crawling. This project aims to scrape data from the website "https://www.krepsinis.net" related to basketball articles. The data is extracted using web scraping techniques and organized into a Pandas DataFrame.
Installation
Using a Package Manager
You can install the crawler as a package using pip:
pip install m1_project_agne
Or using poetry:
poetry add m1_project_agne
Cloning the Repository
You can also clone the repository and install the dependencies using poetry:
git clone https://github.com/agnesema/m1_project_agne
cd m1_project_agne
poetry install
Usage
To use this project, you can import the crawl function from main.py and call it with the desired parameters. Here is an example:
from m1_project_agne.main import crawl
result = crawl(source="krepsinis", return_format="csv", time_limit=10, search_word="rytas")
print(result)
Structure
The project is structured as follows:
- m1_project_agne/: Main package directory.
- init.py: Package initialization file.
- krepsinis.py: Crawler for the Krepsinis website.
- main.py: Main script for the crawler package.
- tests/: Test scripts for the package.
- init.py: Initialization file for tests.
- test.py: Test scripts
Licence
This project is licensed under the MIT license.
Project details
Release history Release notifications | RSS feed
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 m1_project_agne-0.1.1.tar.gz.
File metadata
- Download URL: m1_project_agne-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.6 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d6368ccffcf057ecbb11aeb430f93c56a16b26e1d3dee9790aeba11c3bd07f3
|
|
| MD5 |
c7723abeeb4fa072c448fee00cce06bd
|
|
| BLAKE2b-256 |
b2512b49d8d9e930b420ab652cdb9fe44d1a4541bbf46ae36cc90ae7fde2a505
|
File details
Details for the file m1_project_agne-0.1.1-py3-none-any.whl.
File metadata
- Download URL: m1_project_agne-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.6 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2bd7595bc4ea066272090963c74106f8e4131be0847370335a8480dd2e0ed90
|
|
| MD5 |
b5d0c9274db5a96eb4d4f64b2cae3957
|
|
| BLAKE2b-256 |
bc9b8e656f685a64c7293c20ebf6f53bc1cf8c74c8f913404bb5081b9f409960
|