Skip to main content

Enable temporarily Gitea Actions web scraping.

Project description

Gitea Actions Webscraper

Install with:

pip install gitea_actions_webscraper

Example usage:

from gitea_actions_webscraper import GiteaActionsWebscraper
import json

print('Verifying Gitea Actions Webscraper configuration...')
gitea_actions_webscraper = GiteaActionsWebscraper('https://codeberg.org', 'User/Repository', 'YOUR_i_like_gitea_COOKIE')
print('Gitea Actions Webscraper configuration verified!')

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

gitea_actions_webscraper-0.0.5.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitea_actions_webscraper-0.0.5-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file gitea_actions_webscraper-0.0.5.tar.gz.

File metadata

  • Download URL: gitea_actions_webscraper-0.0.5.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for gitea_actions_webscraper-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c8129f5c49b4f645121c1f5198737d5f483162640c9ab19105e0d1f96fd67eca
MD5 af0a8369c19e1ddc4d0cc07d94d06bce
BLAKE2b-256 23675a04abdf8052aa126ccaec6f147bd1f118068c048d2ca70e184190cb6f06

See more details on using hashes here.

File details

Details for the file gitea_actions_webscraper-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for gitea_actions_webscraper-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5d50e784406c1044e67cbdd7b4d6d27e984ae9ad15127ca33decb07bddb2126b
MD5 28c049e7ad9636a9b9651ead4d636fb3
BLAKE2b-256 d3e27af7a3c87719c02229bc5bd5b85c22fdcdfafd6a59ecedd9a4fdb48aacc1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page