Skip to content

Commit

Permalink
GA
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol committed Sep 21, 2024
1 parent e9fc1ef commit 2999d4e
Show file tree
Hide file tree
Showing 2 changed files with 886 additions and 494 deletions.
8 changes: 4 additions & 4 deletions docs/games/grand_archive_gabrary_spoilers/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@
# Extract card name and image URL
name = card.find('p', class_="centerText").text.strip()
image_url = 'https://gabrary.net' + card.find('img')['src']

editions = []
editions.append({'set': { 'name': 'Spoilers from https://gabrary.net', 'prefix': 'gabrary_spoilers'}})

# Append to card_data list
card_data["data"].append({
'uuid': uuid.uuid4().hex,
'name': name,
'image_url': image_url,
'set': {
'name': 'Spoilers from https://gabrary.net',
'prefix': 'gabrary_spoilers'
}
'editions': editions
})

# Output the card data to a JSON file
Expand Down
Loading

0 comments on commit 2999d4e

Please sign in to comment.