block: optimising for RKS large pattern list
This commit is contained in:
parent
293d83cc1c
commit
bbf070339a
2 changed files with 9 additions and 6 deletions
|
@ -23,7 +23,7 @@ class BlockRoskomsvobodaAutomation(BlockMirrorAutomation):
|
|||
_data: Any
|
||||
|
||||
def fetch(self) -> None:
|
||||
self._data = requests.get("https://reestr.rublacklist.net/api/v2/domains/json").json()
|
||||
self._data = requests.get("https://reestr.rublacklist.net/api/v2/domains/json/").json()
|
||||
|
||||
def parse(self) -> None:
|
||||
self.patterns.extend(["https://" + pattern for pattern in self._data])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue