Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d7b8fef42f | |||
| f21db4cd33 |
+4
-1
@@ -4,14 +4,17 @@ __version__ = "1.0.2"
|
|||||||
from custom_lib import my_file_config
|
from custom_lib import my_file_config
|
||||||
from custom_lib import my_logger
|
from custom_lib import my_logger
|
||||||
from custom_lib import my_uuid
|
from custom_lib import my_uuid
|
||||||
# 20260527 tak add my image
|
# 20260507 tak add my_image
|
||||||
from custom_lib import my_image
|
from custom_lib import my_image
|
||||||
|
# 20260508 tak add my_crawling
|
||||||
|
from custom_lib import my_crawling
|
||||||
|
|
||||||
MODULES = [
|
MODULES = [
|
||||||
my_file_config,
|
my_file_config,
|
||||||
my_logger,
|
my_logger,
|
||||||
my_uuid,
|
my_uuid,
|
||||||
my_image,
|
my_image,
|
||||||
|
my_crawling
|
||||||
]
|
]
|
||||||
|
|
||||||
def print_versions():
|
def print_versions():
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user