Skip to content

Commit 0e21e8c

Browse files
committed
fix(workflow): обновлен user-agent для скриншота myshows.me
- Добавлен параметр `--user-agent` в команду `shot-scraper` для myshows.me - Указан user-agent браузера Chrome для корректного получения скриншота
1 parent d32dcb5 commit 0e21e8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/screenshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
5050
shot-scraper https://github.com/hazadus/ --width 1280 --wait 5000 -o "github-hazadus.$today.png" || true
5151
shot-scraper https://steamcommunity.com/id/hazadus/ --width 1280 --wait 10000 -o "steam-profile.$today.png" || true
52-
shot-scraper https://myshows.me/hazadus --width 1280 --wait 10000 -o "myshows.$today.png" || true
52+
shot-scraper https://myshows.me/hazadus --width 1280 --wait 10000 --user-agent "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" -o "myshows.$today.png" || true
5353
- name: Optimize PNGs
5454
run: |-
5555
oxipng -o 4 -i 0 --strip safe *.png && \

0 commit comments

Comments
 (0)