Skip to content

Commit

Permalink
GA
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol committed Sep 24, 2024
1 parent 941179a commit 1092b3f
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 108 deletions.
30 changes: 15 additions & 15 deletions docs/games/grand_archive_gabrary_spoilers/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@

# Set up the WebDriver (make sure to download the appropriate driver)
#driver = webdriver.Firefox()
#driver = webdriver.Chrome()
driver = webdriver.Chrome()

# Driver from https://github.com/jsoma/selenium-github-actions
chrome_service = Service(ChromeDriverManager(chrome_type=ChromeType.CHROMIUM).install())
chrome_options = Options()
options = [
"--headless",
"--disable-gpu",
"--window-size=1920,1200",
"--ignore-certificate-errors",
"--disable-extensions",
"--no-sandbox",
"--disable-dev-shm-usage"
]
for option in options:
chrome_options.add_argument(option)
driver = webdriver.Chrome(service=chrome_service, options=chrome_options)
#chrome_service = Service(ChromeDriverManager(chrome_type=ChromeType.CHROMIUM).install())
#chrome_options = Options()
#options = [
# "--headless",
# "--disable-gpu",
# "--window-size=1920,1200",
# "--ignore-certificate-errors",
# "--disable-extensions",
# "--no-sandbox",
# "--disable-dev-shm-usage"
#]
#for option in options:
# chrome_options.add_argument(option)
#driver = webdriver.Chrome(service=chrome_service, options=chrome_options)

# Open the target URL
driver.get(url)
Expand Down
173 changes: 80 additions & 93 deletions docs/games/grand_archive_gabrary_spoilers/sets/gabrary_spoilers.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,9 @@
{
"data": [
{
"uuid": "CyclicalBreeze",
"name": "Cyclical Breeze",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/172.jpg",
"editions": [
{
"set": {
"name": "Spoilers from https://gabrary.net",
"prefix": "gabrary_spoilers"
}
}
]
},
{
"uuid": "Thunderclap",
"name": "Thunderclap",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/124.jpg",
"editions": [
{
"set": {
"name": "Spoilers from https://gabrary.net",
"prefix": "gabrary_spoilers"
}
}
]
},
{
"uuid": "ThreeVisits",
"name": "Three Visits",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/194.jpg",
"editions": [
{
"set": {
"name": "Spoilers from https://gabrary.net",
"prefix": "gabrary_spoilers"
}
}
]
},
{
"uuid": "HireMercenaries",
"name": "Hire Mercenaries",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/47.jpg",
"uuid": "SoothingDisillusion",
"name": "Soothing Disillusion",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/190.jpg",
"editions": [
{
"set": {
Expand All @@ -53,9 +14,9 @@
]
},
{
"uuid": "MysticPurifier",
"name": "Mystic Purifier",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/63.jpg",
"uuid": "JueyingShadowmare",
"name": "Jueying, Shadowmare",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/141.jpg",
"editions": [
{
"set": {
Expand All @@ -66,9 +27,9 @@
]
},
{
"uuid": "SunQuanSealbearer",
"name": "Sun Quan, Sealbearer",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/84.jpg",
"uuid": "CavalierRescue",
"name": "Cavalier Rescue",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/34.jpg",
"editions": [
{
"set": {
Expand All @@ -79,35 +40,9 @@
]
},
{
"uuid": "AcolyteofCultivation",
"name": "Acolyte of Cultivation",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/29.jpg",
"editions": [
{
"set": {
"name": "Spoilers from https://gabrary.net",
"prefix": "gabrary_spoilers"
}
}
]
},
{
"uuid": "RelicofDancingEmbers",
"name": "Relic of Dancing Embers",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/116.jpg",
"editions": [
{
"set": {
"name": "Spoilers from https://gabrary.net",
"prefix": "gabrary_spoilers"
}
}
]
},
{
"uuid": "HeavenlyGuide",
"name": "Heavenly Guide",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/46.jpg",
"uuid": "NanyuePortsman",
"name": "Nanyue Portsman",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/142.jpg",
"editions": [
{
"set": {
Expand Down Expand Up @@ -235,8 +170,8 @@
]
},
{
"uuid": "AcolyteofCultivation2",
"name": "Acolyte of Cultivation2",
"uuid": "AcolyteofCultivation",
"name": "Acolyte of Cultivation",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/29.jpg",
"editions": [
{
Expand All @@ -260,6 +195,19 @@
}
]
},
{
"uuid": "CavalierRescue2",
"name": "Cavalier Rescue2",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/34.jpg",
"editions": [
{
"set": {
"name": "Spoilers from https://gabrary.net",
"prefix": "gabrary_spoilers"
}
}
]
},
{
"uuid": "CuretheFlesh",
"name": "Cure the Flesh",
Expand Down Expand Up @@ -287,8 +235,8 @@
]
},
{
"uuid": "HeavenlyGuide2",
"name": "Heavenly Guide2",
"uuid": "HeavenlyGuide",
"name": "Heavenly Guide",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/46.jpg",
"editions": [
{
Expand All @@ -300,8 +248,8 @@
]
},
{
"uuid": "HireMercenaries2",
"name": "Hire Mercenaries2",
"uuid": "HireMercenaries",
"name": "Hire Mercenaries",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/47.jpg",
"editions": [
{
Expand Down Expand Up @@ -417,8 +365,8 @@
]
},
{
"uuid": "MysticPurifier2",
"name": "Mystic Purifier2",
"uuid": "MysticPurifier",
"name": "Mystic Purifier",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/63.jpg",
"editions": [
{
Expand Down Expand Up @@ -508,8 +456,8 @@
]
},
{
"uuid": "SunQuanSealbearer2",
"name": "Sun Quan, Sealbearer2",
"uuid": "SunQuanSealbearer",
"name": "Sun Quan, Sealbearer",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/84.jpg",
"editions": [
{
Expand Down Expand Up @@ -690,8 +638,8 @@
]
},
{
"uuid": "RelicofDancingEmbers2",
"name": "Relic of Dancing Embers2",
"uuid": "RelicofDancingEmbers",
"name": "Relic of Dancing Embers",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/116.jpg",
"editions": [
{
Expand Down Expand Up @@ -755,8 +703,8 @@
]
},
{
"uuid": "Thunderclap2",
"name": "Thunderclap2",
"uuid": "Thunderclap",
"name": "Thunderclap",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/124.jpg",
"editions": [
{
Expand Down Expand Up @@ -819,6 +767,32 @@
}
]
},
{
"uuid": "JueyingShadowmare2",
"name": "Jueying, Shadowmare2",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/141.jpg",
"editions": [
{
"set": {
"name": "Spoilers from https://gabrary.net",
"prefix": "gabrary_spoilers"
}
}
]
},
{
"uuid": "NanyuePortsman2",
"name": "Nanyue Portsman2",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/142.jpg",
"editions": [
{
"set": {
"name": "Spoilers from https://gabrary.net",
"prefix": "gabrary_spoilers"
}
}
]
},
{
"uuid": "RainweaverMage",
"name": "Rainweaver Mage",
Expand Down Expand Up @@ -937,8 +911,8 @@
]
},
{
"uuid": "CyclicalBreeze2",
"name": "Cyclical Breeze2",
"uuid": "CyclicalBreeze",
"name": "Cyclical Breeze",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/172.jpg",
"editions": [
{
Expand Down Expand Up @@ -1014,6 +988,19 @@
}
]
},
{
"uuid": "SoothingDisillusion2",
"name": "Soothing Disillusion2",
"image_url": "https://cgs.games/api/proxy/gabrary.net/Spoilers_Images/190.jpg",
"editions": [
{
"set": {
"name": "Spoilers from https://gabrary.net",
"prefix": "gabrary_spoilers"
}
}
]
},
{
"uuid": "ThreeVISTIS",
"name": "Three VISTIS",
Expand Down

0 comments on commit 1092b3f

Please sign in to comment.