Skip to content

Commit

Permalink
chore:instead of tk origin(#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guovin committed Nov 8, 2024
1 parent 97f2e49 commit f5927fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion updates/hotel/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def get_channels_by_hotel(callback=None):
Get the channels by multicase
"""
channels = {}
pageUrl = "http://tonkiang.us/hoteliptv.php"
pageUrl = "http://www.foodieguide.com/iptvsearch/hoteliptv.php"
proxy = None
open_proxy = config.open_proxy
open_driver = config.open_driver
Expand Down
2 changes: 1 addition & 1 deletion updates/multicast/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async def get_channels_by_multicast(names, callback=None):
Get the channels by multicase
"""
channels = {}
pageUrl = "http://tonkiang.us/hoteliptv.php"
pageUrl = "http://www.foodieguide.com/iptvsearch/hoteliptv.php"
proxy = None
open_proxy = config.open_proxy
open_driver = config.open_driver
Expand Down
4 changes: 2 additions & 2 deletions updates/online_search/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async def use_accessible_url(callback):
Check if the url is accessible
"""
callback(f"正在获取最优的关键字搜索节点", 0)
baseUrl1 = "https://www.foodieguide.com/iptvsearch/"
baseUrl1 = "http://www.foodieguide.com/iptvsearch/"
baseUrl2 = "http://tonkiang.us/"
task1 = create_task(get_speed(baseUrl1, timeout=config.request_timeout))
task2 = create_task(get_speed(baseUrl2, timeout=config.request_timeout))
Expand All @@ -53,7 +53,7 @@ async def get_channels_by_online_search(names, callback=None):
"""
channels = {}
# pageUrl = await use_accessible_url(callback)
pageUrl = "http://tonkiang.us/"
pageUrl = "http://www.foodieguide.com/iptvsearch/"
if not pageUrl:
return channels
proxy = None
Expand Down

0 comments on commit f5927fa

Please sign in to comment.