Refactor scrape_twitch.py

This commit is contained in:
2024-08-14 04:55:30 +02:00
parent 041b2ddb95
commit d86cb1fd2a
4 changed files with 221 additions and 139 deletions

View File

@ -1,7 +1,7 @@
<div class="card mb-4 shadow-sm" id="#{{ game.twitch_id }}">
<div class="row g-0">
<div class="col-md-2">
<img src="https://static-cdn.jtvnw.net/ttv-boxart/{{ game.twitch_id }}_IGDB.jpg"
<img src="{{ game.box_art_url }}"
alt="{{ game.name }} box art"
class="img-fluid rounded-start"
height="283"