Skip to main content

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

gitea_actions_webscraper-0.0.4.tar.gz (2.2 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.4-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitea_actions_webscraper-0.0.4.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

Hashes for gitea_actions_webscraper-0.0.4.tar.gz
Algorithm Hash digest
SHA256 093244142de7e838dd45e6edfae390bff44166a5dc2b5eccef1de1746679e4cb
MD5 48868bb1daf5dce34e271c3c0c84814b
BLAKE2b-256 e91a0dec0a46a3d35c9533d93db8f5b8e18d6275c8077b46c86f84bdaca7ad3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gitea_actions_webscraper-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a8dc72439366809d41a328da536c3d62c136c30d4616ef158f8950e6f648ed3e
MD5 d836420c02a08cc717579eb22faff15a
BLAKE2b-256 157024ea14c47bc49bedd8d0e81229cd591ee63adadfd55edfbb147a0c80a05b

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