Skip to content

reykim7854/blue-archive-image-url-scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blue-archive-image-url-scrapper

This python script scraps Blue Archive character image URLs from Blue Archive Wiki using BeautifulSoup.

Requirements

  • python 3.6+
  • beautifulsoup4
  • requests

How to use

  • install the required library from requirements.txt

    pip install -r requirements.txt
    
  • run scrapper.py

    • Windows
      py scrapper.py
      
    • linux / mac
      python3 scrapper.py
      
  • 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"
      }
    }