MCPcopy Create free account
hub / github.com/CCSH/IPTV / check_url_exist

Method check_url_exist

main.py:211–214  ·  view source on GitHub ↗
(self, chn_type: str, url: str)

Source from the content-addressed store, hash-verified

209 self.all_urls[chn_type] = set()
210
211 def check_url_exist(self, chn_type: str, url: str) -> bool:
212 if url in self.all_urls.get(chn_type, set()) or "127.0.0.1" in url:
213 return True
214 return False
215
216 # === 全局单频道限流 ===
217 def is_single_chn_limit(self, channel_name: str) -> bool:

Callers 1

classifyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected