From 1dfeae3711616925b74ca44586a6a2c0ec19cbfe Mon Sep 17 00:00:00 2001 From: Eric Lay Date: Mon, 17 Apr 2023 00:56:19 -0500 Subject: [PATCH] refactor list --- pokeinfo | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pokeinfo b/pokeinfo index fda5fdc..a39d2c3 100755 --- a/pokeinfo +++ b/pokeinfo @@ -23,7 +23,15 @@ elif pokemon == "ho-oh": pokemon = "Ho-oh" #serebii listed this way ######## Get Pokedex Entry Number ######## -begin_url = ["http://serebii.net/pokedex-xy/","http://serebii.net/pokedex-sv/","http://serebii.net/pokedex-swsh/","http://serebii.net/pokedex-sm/","http://serebii.net/pokedex-bw/","http://serebii.net/pokedex-dp/","http://serebii.net/pokedex-rs/","http://serebii.net/pokedex-gs/","http://serebii.net/pokedex/"] +begin_url = ["http://serebii.net/pokedex-xy/", + "http://serebii.net/pokedex-sv/", + "http://serebii.net/pokedex-swsh/", + "http://serebii.net/pokedex-sm/", + "http://serebii.net/pokedex-bw/", + "http://serebii.net/pokedex-dp/", + "http://serebii.net/pokedex-rs/", + "http://serebii.net/pokedex-gs/", + "http://serebii.net/pokedex/"] for i in begin_url: request1 = requests.get(i) html1 = request1.content