Add links to README.md
and modify according to upcoming Gitea Actions Webscraper release
This commit is contained in:
parent
ddf19cd334
commit
85713d2409
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Installation:
|
## Installation:
|
||||||
|
|
||||||
Install Gitea Actions Webscraper dependency by running:
|
Install [Gitea Actions Webscraper](https://codeberg.org/Benjamin_Loison/Gitea_Actions_Webscraper) dependency by running:
|
||||||
|
|
||||||
```
|
```
|
||||||
pip install gitea_actions_webscraper
|
pip install gitea_actions_webscraper
|
||||||
@ -10,7 +10,7 @@ pip install gitea_actions_webscraper
|
|||||||
|
|
||||||
## Configuration:
|
## Configuration:
|
||||||
|
|
||||||
Modify `config.py` with the `i_like_gitea` cookie that you can obtain with the `Network` tab (`Ctrl` + `Shift` + `E` with Firefox) when refreshting [the actions webpage](https://gitea.lemnoslife.com/LemnosLife/LemnosLife_Client_chat_majeste/actions).
|
Modify [`config.py` `i_like_gitea` cookie](https://gitea.lemnoslife.com/LemnosLife/Gitea_Actions/src/commit/ddf19cd33414d778598bb0dbe00ab46e3ca1aae1/config.py#L3) that you can obtain with the `Network` tab (`Ctrl` + `Shift` + `E` with Firefox) when refreshting [the actions webpage](https://gitea.lemnoslife.com/LemnosLife/LemnosLife_Client_chat_majeste/actions).
|
||||||
|
|
||||||
## Usage:
|
## Usage:
|
||||||
|
|
||||||
|
@ -23,7 +23,9 @@ with open('.git/refs/heads/master') as f:
|
|||||||
|
|
||||||
# Isn't there already live updates on UI?
|
# Isn't there already live updates on UI?
|
||||||
|
|
||||||
|
print('Verifying Gitea Actions Webscraper configuration...')
|
||||||
gitea_actions_webscraper = GiteaActionsWebscraper(config.instance, config.repository, config.i_like_gitea)
|
gitea_actions_webscraper = GiteaActionsWebscraper(config.instance, config.repository, config.i_like_gitea)
|
||||||
|
print('Gitea Actions Webscraper configuration verified!')
|
||||||
while True:
|
while True:
|
||||||
while True:
|
while True:
|
||||||
actions = gitea_actions_webscraper.getFirstActionsPage()
|
actions = gitea_actions_webscraper.getFirstActionsPage()
|
||||||
|
Loading…
Reference in New Issue
Block a user