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
Close
Hashes for gitea_actions_webscraper-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da689eb25bcb64e2296ad18ddc3feaf604561e8ee4305dce9ff6882913c95b13 |
|
MD5 | 60180b88129f8f2aa78fdc6928368785 |
|
BLAKE2b-256 | 107386e07f96515ff9d26e964e3e35118bc3d7f333470e5d31b058c3d9ea40ab |
Close
Hashes for gitea_actions_webscraper-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b62fd83f55871928cbd252b969223827ee68a10f7c792c848c90527bd0bded4a |
|
MD5 | ab182170ebead06bdfb215087c3b05f8 |
|
BLAKE2b-256 | 2b9d65ad3d63f1e4e9887a195b7eaa3de1c6dde3d7e5066fc1942efd412ad736 |