Moved my_image/my_crawling.py

This commit is contained in:
2026-05-08 14:17:50 +09:00
parent cd61d42115
commit 2286b76664
8 changed files with 0 additions and 0 deletions
View File
Binary file not shown.
Binary file not shown.
+12
View File
@@ -0,0 +1,12 @@
__version__ = "1.0.0"
# --- package ---
# --- crawling ---
from bs4 import BeautifulSoup
from urllib import request
def get_lxml(target_url):
request_url = request.urlopen(target_url)
bs = BeautifulSoup(request_url, "lxml", from_encoding='utf-8')
return bs