This python script scraps Blue Archive character image URLs from Blue Archive Wiki using BeautifulSoup.
- python 3.6+
- beautifulsoup4
- requests
-
install the required library from
requirements.txt
pip install -r requirements.txt
-
run scrapper.py
- Windows
py scrapper.py
- linux / mac
python3 scrapper.py
- Windows
-
file will be outputed as
student-images.json
example:
{ "Airi": { "avatar": "https://static.miraheze.org/bluearchivewiki/9/96/Airi.png", "full_image": "https://static.miraheze.org/bluearchivewiki/4/4b/Airi_full.png" }, ... "Yuzu": { "avatar": "https://static.miraheze.org/bluearchivewiki/7/71/Yuzu.png", "full_image": "https://static.miraheze.org/bluearchivewiki/0/0d/Yuzu_full.png" } }