Простой пример использования библиотеки:
- Устанавливаем библиотеку
python -m pip install igruha
- Пример кода
from igruha import Igruha
parser = Igruha()
games = parser.search('Far Cry').games
for game in games:
game.get_details()
print('Игра: %s\nТрейлер: %s' % (game.name, game.trailer) )
games[0].torrents[0].download('/custom/path/to/game') #Скачать игру
Дополнительная информация и методы: https://github.com/LORD-ME-CODE/igruha
Release files for igruha 3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| igruha-3.1.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| igruha-3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / igruha-3.1.tar.gz
| Download URL | igruha-3.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9857c5fc812d6ad890021ff1bdbbc3d7816e91c082ca9b428d32dd72a7f6ac91
|
|
BLAKE2b-256 checksum How to use checksums |
86a6d927c30d1071e2a2377817697aba3eb25e6732870965608eb35ca7214628
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / igruha-3.1-py3-none-any.whl
| Download URL | igruha-3.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58fccdb1dc1ad6d509ee937dc0055ffa9773d5bb86722e9848b00b057511be92
|
|
BLAKE2b-256 checksum How to use checksums |
2777f4704d416027aceff40a19c9d0492e935590b735825154fe29eb43da93ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|