mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2025-04-19 00:26:01 +00:00
call main after update
This commit is contained in:
parent
cebf809391
commit
944bee0f56
4 changed files with 50 additions and 5406 deletions
|
@ -26,6 +26,8 @@ to_include = [
|
|||
|
||||
for section in soup.find_all("div", {"class": "agent-links-section"}):
|
||||
category = section.find("h2").get_text()
|
||||
if category not in to_include:
|
||||
continue
|
||||
for agent in section.find_all("a", href=True):
|
||||
name = agent.find("div", {"class": "agent-name"}).get_text().strip()
|
||||
desc = agent.find("p").get_text().strip()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue