wynncraft-bot/temp.py

839 lines
31 KiB
Python

from bs4 import BeautifulSoup
a = """
<tbody>
<tr>
<td style="background-color:#d8bca6;"><a href="/File:DecrepitSewersIcon.png" class="image"><img alt="DecrepitSewersIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/1/10/DecrepitSewersIcon.png/revision/latest/scale-to-width-down/100?cb=20190113192312" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/1/10/DecrepitSewersIcon.png/revision/latest/scale-to-width-down/150?cb=20190113192312 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/1/10/DecrepitSewersIcon.png/revision/latest/scale-to-width-down/200?cb=20190113192312 2x" width="100" height="100"></a>
</td>
<td style="background-color:#d8bca6;"><a href="/Decrepit_Sewers" title="Decrepit Sewers">Decrepit Sewers</a>
</td>
<td style="background-color:#d8bca6;">9
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#d8bca6;">-919
</td>
<td style="background-color:#d8bca6;">-1883
</td>
<td style="background-color:#d8bca6;"><a href="/Sewers_of_Ragni" class="mw-redirect" title="Sewers of Ragni">Sewers of Ragni</a>
</td></tr>
<tr>
<td style="background-color:#d8bca6;"><a href="/File:InfestedPitIcon.png" class="image"><img alt="InfestedPitIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/b/b7/InfestedPitIcon.png/revision/latest/scale-to-width-down/100?cb=20190113192622" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/b/b7/InfestedPitIcon.png/revision/latest/scale-to-width-down/150?cb=20190113192622 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/b/b7/InfestedPitIcon.png/revision/latest/scale-to-width-down/200?cb=20190113192622 2x" width="100" height="100"></a>
</td>
<td style="background-color:#d8bca6;"><a href="/Infested_Pit" title="Infested Pit">Infested Pit</a>
</td>
<td style="background-color:#d8bca6;">18
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#d8bca6;">-171
</td>
<td style="background-color:#d8bca6;">-1820
</td>
<td style="background-color:#d8bca6;"><a href="/Arachnids%27_Ascent" title="Arachnids' Ascent">Arachnids' Ascent</a>
</td></tr>
<tr>
<td style="background-color:#d8bca6;"><a href="/File:LostSanctuaryIcon.png" class="image"><img alt="LostSanctuaryIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/7/74/LostSanctuaryIcon.png/revision/latest/scale-to-width-down/100?cb=20190113192733" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/7/74/LostSanctuaryIcon.png/revision/latest/scale-to-width-down/150?cb=20190113192733 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/7/74/LostSanctuaryIcon.png/revision/latest/scale-to-width-down/200?cb=20190113192733 2x" width="100" height="100"></a>
</td>
<td style="background-color:#d8bca6;"><a href="/Lost_Sanctuary" title="Lost Sanctuary">Lost Sanctuary</a>
</td>
<td style="background-color:#d8bca6;">24
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#d8bca6;">-262
</td>
<td style="background-color:#d8bca6;">-1045
</td>
<td style="background-color:#d8bca6;"><a href="/Studying_the_Corrupt" title="Studying the Corrupt">Studying the Corrupt</a>
</td></tr>
<tr>
<td style="background-color:#d8bca6;"><a href="/File:UnderworldCryptIcon.png" class="image"><img alt="UnderworldCryptIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/1/14/UnderworldCryptIcon.png/revision/latest/scale-to-width-down/100?cb=20190113192805" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/1/14/UnderworldCryptIcon.png/revision/latest/scale-to-width-down/150?cb=20190113192805 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/1/14/UnderworldCryptIcon.png/revision/latest/scale-to-width-down/200?cb=20190113192805 2x" width="100" height="100"></a>
</td>
<td style="background-color:#d8bca6;"><a href="/Underworld_Crypt" title="Underworld Crypt">Underworld Crypt</a>
</td>
<td style="background-color:#d8bca6;">27
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#d8bca6;">227
</td>
<td style="background-color:#d8bca6;">-1950
</td>
<td style="background-color:#d8bca6;"><a href="/The_Dark_Descent" title="The Dark Descent">The Dark Descent</a>
</td></tr>
<tr>
<td style="background-color:#d8bca6;"><a href="/File:Sand-SweptTombIcon.png" class="image"><img alt="Sand-SweptTombIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/0/02/Sand-SweptTombIcon.png/revision/latest/scale-to-width-down/100?cb=20190113193432" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/0/02/Sand-SweptTombIcon.png/revision/latest/scale-to-width-down/150?cb=20190113193432 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/0/02/Sand-SweptTombIcon.png/revision/latest/scale-to-width-down/200?cb=20190113193432 2x" width="100" height="100"></a>
</td>
<td style="background-color:#d8bca6;"><a href="/Sand-Swept_Tomb" title="Sand-Swept Tomb">Sand-Swept Tomb</a>
</td>
<td style="background-color:#d8bca6;">36
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#d8bca6;">1409
</td>
<td style="background-color:#d8bca6;">-1830
</td>
<td style="background-color:#d8bca6;"><a href="/Kingdom_of_Sand" title="Kingdom of Sand">Kingdom of Sand</a>
</td></tr>
<tr>
<td style="background-color:#d8bca6;"><a href="/File:IceBarrowsIcon.png" class="image"><img alt="IceBarrowsIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/8/8b/IceBarrowsIcon.png/revision/latest/scale-to-width-down/100?cb=20190113193456" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/8/8b/IceBarrowsIcon.png/revision/latest/scale-to-width-down/150?cb=20190113193456 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/8/8b/IceBarrowsIcon.png/revision/latest/scale-to-width-down/200?cb=20190113193456 2x" width="100" height="100"></a>
</td>
<td style="background-color:#d8bca6;"><a href="/Ice_Barrows" title="Ice Barrows">Ice Barrows</a>
</td>
<td style="background-color:#d8bca6;">45
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#d8bca6;">117
</td>
<td style="background-color:#d8bca6;">-667
</td>
<td style="background-color:#d8bca6;"><a href="/Fate_of_the_Fallen" title="Fate of the Fallen">Fate of the Fallen</a>
</td></tr>
<tr>
<td style="background-color:#d8bca6;"><a href="/File:UndergrowthRuinsIcon.png" class="image"><img alt="UndergrowthRuinsIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/e/e1/UndergrowthRuinsIcon.png/revision/latest/scale-to-width-down/100?cb=20190113193546" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/e/e1/UndergrowthRuinsIcon.png/revision/latest/scale-to-width-down/150?cb=20190113193546 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/e/e1/UndergrowthRuinsIcon.png/revision/latest/scale-to-width-down/200?cb=20190113193546 2x" width="100" height="100"></a>
</td>
<td style="background-color:#d8bca6;"><a href="/Undergrowth_Ruins" title="Undergrowth Ruins">Undergrowth Ruins</a>
</td>
<td style="background-color:#d8bca6;">54
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#d8bca6;">-660
</td>
<td style="background-color:#d8bca6;">-835
</td>
<td style="background-color:#d8bca6;"><a href="/Corrupted_Betrayal" title="Corrupted Betrayal">Corrupted Betrayal</a>
</td></tr>
<tr>
<td style="background-color:#d8bca6;"><a href="/File:GalleonsGraveyardIcon.png" class="image"><img alt="GalleonsGraveyardIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/b/b0/GalleonsGraveyardIcon.png/revision/latest/scale-to-width-down/100?cb=20190113193613" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/b/b0/GalleonsGraveyardIcon.png/revision/latest/scale-to-width-down/150?cb=20190113193613 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/b/b0/GalleonsGraveyardIcon.png/revision/latest/scale-to-width-down/200?cb=20190113193613 2x" width="100" height="100"></a>
</td>
<td style="background-color:#d8bca6;"><a href="/Galleon%27s_Graveyard" title="Galleon's Graveyard">Galleon's Graveyard</a>
</td>
<td style="background-color:#d8bca6;">63
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#d8bca6;">-583
</td>
<td style="background-color:#d8bca6;">-3468
</td>
<td style="background-color:#d8bca6;"><a href="/Redbeard%27s_Booty" title="Redbeard's Booty">Redbeard's Booty</a>
</td></tr>
<tr>
<td style="background-color:#cc8d7c;"><a href="/File:CorruptedDecrepitSewers.png" class="image"><img alt="CorruptedDecrepitSewers.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d2/CorruptedDecrepitSewers.png/revision/latest/scale-to-width-down/100?cb=20170705172706" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d2/CorruptedDecrepitSewers.png/revision/latest/scale-to-width-down/150?cb=20170705172706 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d2/CorruptedDecrepitSewers.png/revision/latest/scale-to-width-down/200?cb=20170705172706 2x" width="100" height="108"></a>
</td>
<td style="background-color:#cc8d7c;"><a href="/Corrupted_Decrepit_Sewers" title="Corrupted Decrepit Sewers">Corrupted Decrepit Sewers</a>
</td>
<td style="background-color:#cc8d7c;">70
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-860</a>
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-4900</a>
</td>
<td style="background-color:#cc8d7c;"><i>None</i>
</td></tr>
<tr>
<td style="background-color:#cc8d7c;"><a href="/File:CorruptedInfestedPit.png" class="image"><img alt="CorruptedInfestedPit.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/2/26/CorruptedInfestedPit.png/revision/latest/scale-to-width-down/100?cb=20170705172649" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/2/26/CorruptedInfestedPit.png/revision/latest/scale-to-width-down/150?cb=20170705172649 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/2/26/CorruptedInfestedPit.png/revision/latest/scale-to-width-down/200?cb=20170705172649 2x" width="100" height="108"></a>
</td>
<td style="background-color:#cc8d7c;"><a href="/Corrupted_Infested_Pit" title="Corrupted Infested Pit">Corrupted Infested Pit</a>
</td>
<td style="background-color:#cc8d7c;">74
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-860</a>
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-4900</a>
</td>
<td style="background-color:#cc8d7c;"><i>None</i>
</td></tr>
<tr>
<td style="background-color:#cc8d7c;"><a href="/File:DungeonIcon.png" class="image"><img alt="DungeonIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/100?cb=20200802131838" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/150?cb=20200802131838 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/200?cb=20200802131838 2x" width="100" height="100"></a>
</td>
<td style="background-color:#cc8d7c;"><a href="/Corrupted_Lost_Sanctuary" title="Corrupted Lost Sanctuary">Corrupted Lost Sanctuary</a>
</td>
<td style="background-color:#cc8d7c;">78
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-860</a>
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-4900</a>
</td>
<td style="background-color:#cc8d7c;"><i>None</i>
</td></tr>
<tr>
<td style="background-color:#cc8d7c;"><a href="/File:DungeonIcon.png" class="image"><img alt="DungeonIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/100?cb=20200802131838" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/150?cb=20200802131838 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/200?cb=20200802131838 2x" width="100" height="100"></a>
</td>
<td style="background-color:#cc8d7c;"><a href="/Corrupted_Underworld_Crypt" title="Corrupted Underworld Crypt">Corrupted Underworld Crypt</a>
</td>
<td style="background-color:#cc8d7c;">82
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-860</a>
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-4900</a>
</td>
<td style="background-color:#cc8d7c;"><i>None</i>
</td></tr>
<tr>
<td style="background-color:#cc8d7c;"><a href="/File:DungeonIcon.png" class="image"><img alt="DungeonIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/100?cb=20200802131838" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/150?cb=20200802131838 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/200?cb=20200802131838 2x" width="100" height="100"></a>
</td>
<td style="background-color:#cc8d7c;"><a href="/Corrupted_Sand-Swept_Tomb" title="Corrupted Sand-Swept Tomb">Corrupted Sand-Swept Tomb</a>
</td>
<td style="background-color:#cc8d7c;">86
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-860</a>
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-4900</a>
</td>
<td style="background-color:#cc8d7c;"><i>None</i>
</td></tr>
<tr>
<td style="background-color:#d8bca6;"><a href="/File:Corkusdungeonlogosmall.png" class="image"><img alt="Corkusdungeonlogosmall.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/e/e7/Corkusdungeonlogosmall.png/revision/latest/scale-to-width-down/100?cb=20190113193640" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/e/e7/Corkusdungeonlogosmall.png/revision/latest/scale-to-width-down/150?cb=20190113193640 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/e/e7/Corkusdungeonlogosmall.png/revision/latest/scale-to-width-down/200?cb=20190113193640 2x" width="100" height="102"></a>
</td>
<td style="background-color:#d8bca6;"><a href="/Fallen_Factory" title="Fallen Factory">Fallen Factory</a>
</td>
<td style="background-color:#d8bca6;">90
</td>
<td colspan="20" style="background-color:#d8bca6;"><i>Unknown</i>
</td>
<td style="background-color:#d8bca6;">-1675
</td>
<td style="background-color:#d8bca6;">-2600
</td>
<td style="background-color:#d8bca6;"><a href="/The_Envoy_Part_II" title="The Envoy Part II">The Envoy Part II</a>
</td></tr>
<tr>
<td style="background-color:#cc8d7c;"><a href="/File:DungeonIcon.png" class="image"><img alt="DungeonIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/100?cb=20200802131838" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/150?cb=20200802131838 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/200?cb=20200802131838 2x" width="100" height="100"></a>
</td>
<td style="background-color:#cc8d7c;"><a href="/Corrupted_Ice_Barrows" title="Corrupted Ice Barrows">Corrupted Ice Barrows</a>
</td>
<td style="background-color:#cc8d7c;">90
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7ccbc;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-860</a>
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-4900</a>
</td>
<td style="background-color:#cc8d7c;"><i>None</i>
</td></tr>
<tr>
<td style="background-color:#cc8d7c;"><a href="/File:DungeonIcon.png" class="image"><img alt="DungeonIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/100?cb=20200802131838" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/150?cb=20200802131838 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/d/d5/DungeonIcon.png/revision/latest/scale-to-width-down/200?cb=20200802131838 2x" width="100" height="100"></a>
</td>
<td style="background-color:#cc8d7c;"><a href="/Corrupted_Undergrowth_Ruins" title="Corrupted Undergrowth Ruins">Corrupted Undergrowth Ruins</a>
</td>
<td style="background-color:#cc8d7c;">94
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#e1a291;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#b7cc91;">
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-860</a>
</td>
<td style="background-color:#cc8d7c;"><a href="/The_Forgery" title="The Forgery">-4900</a>
</td>
<td style="background-color:#cc8d7c;"><i>None</i>
</td></tr>
<tr>
<td style="background-color:#d8bca6;"><a href="/File:EldritchOutlookIcon.png" class="image"><img alt="EldritchOutlookIcon.png" src="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/c/cd/EldritchOutlookIcon.png/revision/latest/scale-to-width-down/100?cb=20191108030113" decoding="async" srcset="https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/c/cd/EldritchOutlookIcon.png/revision/latest/scale-to-width-down/150?cb=20191108030113 1.5x, https://static.wikia.nocookie.net/wynncraft_gamepedia_en/images/c/cd/EldritchOutlookIcon.png/revision/latest/scale-to-width-down/200?cb=20191108030113 2x" width="100" height="102"></a>
</td>
<td style="background-color:#d8bca6;"><a href="/Eldritch_Outlook" title="Eldritch Outlook">Eldritch Outlook</a>
</td>
<td style="background-color:#d8bca6;">101
</td>
<td colspan="20" style="background-color:#d8bca6;"><i>Unknown</i>
</td>
<td style="background-color:#d8bca6;">-1310
</td>
<td style="background-color:#d8bca6;">-777
</td>
<td style="background-color:#d8bca6;"><a href="/A_Journey_Further" title="A Journey Further">A Journey Further</a>
</td></tr></tbody>
"""
h = BeautifulSoup(a, 'html.parser')
tr = h.find_all("tr")
for t in tr:
tds = t.find_all("td")
try:
print("{\"minlevel\": %s, \"name\": \"%s\", \"url\": \"https://wynncraft.gamepedia.com%s\", \"location\": \"%s, %s\"}," % (tds[2].text.replace("\n", ""), tds[1].text.replace("\n", ""), tds[1].a["href"].replace("\n", ""), tds[23].text.replace("\n", ""), tds[24].text.replace("\n", "")))
except:
continue