This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from html2image import Html2Image | |
from bs4 import BeautifulSoup as bs | |
from bs4.element import Tag | |
import os, json | |
import pykakasi | |
from uuid import uuid4 | |
import shutil | |
from pySmartDL import SmartDL | |
from functools import partial, wraps | |
from typing import Callable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"n": "JY01", | |
"romaji": "tokyo", | |
"kanji": "東京", | |
"hiragana": "とうきょう", | |
"katakana": "トウキョウ", | |
"q_img": "JY01.png", | |
"url_station": "https://en.wikipedia.org/wiki/Tokyo_Station", | |
"photos": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"n": "T01", | |
"romaji": "nakano", | |
"kanji": "中野", | |
"hiragana": "なかの", | |
"katakana": "ナカノ", | |
"q_img": "T01.png", | |
"url_station": "https://en.wikipedia.org/wiki/Nakano_Station_(Tokyo)", | |
"photos": [ |