diff --git a/src/wechaty/user/url_link.py b/src/wechaty/user/url_link.py index 74c48d97..929bf13b 100644 --- a/src/wechaty/user/url_link.py +++ b/src/wechaty/user/url_link.py @@ -7,7 +7,8 @@ Optional, Type ) -from urllib3 import get_host +# from urllib3 import get_host +from urllib3.util import parse_url as get_host from wechaty_puppet import UrlLinkPayload, get_logger from wechaty.utils.link import get_url_metadata