Parse WebSite for data and Connect to Diffusion Server
Project description
:purple_square: Getting Started
Difconnect is the Service that parse website for data and connect to Diffusion Server to extract data from it.
Requirements
asyncio
and diffusion
libraries are required.
Installing
Install via pip
pip install difconnect
:purple_square: Usage
Run service with arguments:
get
to get information from server- add arguments to run for specific url, race etc
:purple_square: Deployment
Set up .env
file for parameters
SERVER_URL=wss://diffusion.some_site.com
BOOKMAKERS=AA|BB|CC
RACE_URL=https://www.some_site.com/
Edit Dockerfile and spicify arguments to run service
Build image
docker build -t difconnect .
Run image
docker run -it --env-file .env difconnect
:purple_square: Versioning
Using SemVer for versioning. For the versions available, see the tags on this repository.
:purple_square: Authors
- Zakhar Bengart - Initial work - Ze
See also the list of contributors who participated in this project.
:purple_square: License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation - see the LICENSE file for details
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
File details
Details for the file difconnect-1.4.tar.gz
.
File metadata
- Download URL: difconnect-1.4.tar.gz
- Upload date:
- Size: 41.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f10b4834258ca2cb9d347f5b23868b909634385d12cd0a4fa6e6fd3d08c655c8 |
|
MD5 | f853be6cc28a322098574ffa71948eae |
|
BLAKE2b-256 | e7154ed9a1e64365863c95e99037f9d67103abd26708409b82b0c4cd738bc276 |
File details
Details for the file difconnect-1.4-py3-none-any.whl
.
File metadata
- Download URL: difconnect-1.4-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6caa65ac0b7112687b9399bf6789f630c8f3a366c6cb6b73aabfce83363fbdd6 |
|
MD5 | 919ab4eb92cf7d82462760279de45875 |
|
BLAKE2b-256 | cbd09976947db0b78e6d1d1683dde4f64862ffb75c789399f4a80227b73e3bc1 |