Skip to content
Snippets Groups Projects
Unverified Commit cb6daf7a authored by Minecrell's avatar Minecrell
Browse files

wiki: Fix SoC page end match (MR 1)

AssertionError: can't find end in category_socs.html: <div class="printfooter">

Seems like it's <div class="printfooter" data-nosnippet=""> now. Let's
just match the prefix only.
parent 41ef4e33
No related branches found
No related tags found
1 merge request!1wiki: Fix SoC page end match
Pipeline #141192 passed
......@@ -32,7 +32,7 @@ def parse_socs():
ttq.cache.cache_update(cache_name, f"{WIKI_URL}/Category:Socs")
start = '<div class="mw-category-group">'
end = '<div class="printfooter">'
end = '<div class="printfooter"'
html = ttq.html.read_from_cache(cache_name, start, end)
SOCS = ttq.html.parse_list(html)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment