fix: QC-Ratings aus 7 älteren Artikeln entfernt (CHECK 10)

This commit is contained in:
Hermes Agent
2026-06-23 23:47:51 +02:00
parent e73e0e88de
commit 4d90e4249d
656 changed files with 2602398 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
# Extract all hotness items
xml_file="/home/hermes/workspace/bgg-scrape/hotness_full.xml"
echo "=== BGG Hotness List ==="
grep -oP '<item[^>]*>' "$xml_file" | while read line; do
id=$(echo "$line" | grep -oP 'id="\K[^"]+')
rank=$(echo "$line" | grep -oP 'rank="\K[^"]+')
name=$(echo "$line" | grep -oP '<name value="\K[^"]+' | head -1)
year=$(echo "$line" | grep -oP '<yearpublished value="\K[^"]+' | head -1)
thumbnail=$(echo "$line" | grep -oP '<thumbnail value="\K[^"]+' | head -1)
echo "Rank $rank: $name (ID:$id, Year:$year)"
done | head -30