Enable temporarily Gitea Actions web scraping.
Project description
Gitea Actions Webscraper
from gitea_actions_webscraper import GiteaActionsWebscraper
import json
gitea_actions_webscraper = GiteaActionsWebscraper('https://codeberg.org', 'User/Repository', 'YOUR_i_like_gitea_COOKIE')
actions = gitea_actions_webscraper.getFirstActionsPage()
lastAction = actions[0]
print(lastAction.commitTitle)
print(json.dumps(lastAction.getArtifacts(), indent = 4))
print(json.dumps(lastAction.getLogs(), indent = 4))
messages = '\n'.join([stepLog['message'] for stepLog in lastAction.getStepLogs(0)])
print(messages)
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 gitea_actions_webscraper-0.0.1.tar.gz.
File metadata
- Download URL: gitea_actions_webscraper-0.0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
810d47de9b71b08864e0b4d213fb66d72cbc791e5c8e06250603c274bb2c4f47
|
|
| MD5 |
5f0d84988fefea2abf1d72cd09cd5e31
|
|
| BLAKE2b-256 |
b473da73a8f0bdc9895af502f407494c662370543392510eea2e5ab52613be4c
|
File details
Details for the file gitea_actions_webscraper-0.0.1-py3-none-any.whl.
File metadata
- Download URL: gitea_actions_webscraper-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a32142c2f42cb48484a42b06a9c1520ec000d7900c68e7137a73ada47749a45b
|
|
| MD5 |
0031024682a44a6753634b5e9b5e674b
|
|
| BLAKE2b-256 |
b68d9aa556c60046acf8159b4d4ac1b16f3d8bcabb1610b646e5f4605720e574
|