diff --git a/back/get_images.py b/back/get_images.py new file mode 100644 index 0000000..6dc6d28 --- /dev/null +++ b/back/get_images.py @@ -0,0 +1,11 @@ +import requests +from bs4 import BeautifulSoup + +url = 'https://down.idc.wiki/Image/realServer-Template/' + +response = requests.get(url) +soup = BeautifulSoup(response.text, 'html.parser') + +for li in soup.find_all('li', {'class': 'item file'}): + link = li.find('a')['href'].replace("cdn-backblaze.down.idc.wiki//Image/realServer-Template/", "").replace("//", "") + print(link,end=" ")