block/external: remove vantage point filtering
This commit is contained in:
parent
0cc6cf0eda
commit
4d2b4e7bdd
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class BlockExternalAutomation(BlockMirrorAutomation):
|
||||||
div = soup.find_all('div', class_="overflow-auto mb-5")
|
div = soup.find_all('div', class_="overflow-auto mb-5")
|
||||||
i = 0
|
i = 0
|
||||||
for idx, heading in enumerate(h2):
|
for idx, heading in enumerate(h2):
|
||||||
if not div[idx].div and heading.text in app.config['EXTERNAL_VANTAGE_POINTS']:
|
if not div[idx].div:
|
||||||
anchors = div[idx].find_all('a')
|
anchors = div[idx].find_all('a')
|
||||||
for anchor in anchors:
|
for anchor in anchors:
|
||||||
self.patterns.append("https://" + anchor.text)
|
self.patterns.append("https://" + anchor.text)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue