We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd4c73c commit bcc6584Copy full SHA for bcc6584
1 file changed
modules/parser.py
@@ -167,7 +167,11 @@ def add_downloads():
167
div.insert_after(html.new_string("\n"))
168
plain = sanitize_whitespace(post.find("article").get_text(separator="", strip=False))
169
170
- name = fixed_spaces(sanitize_whitespace(re.search(r"(?:.+? - )*([^\[\|]+)", html.title.text).group(1)))
+ name = ""
171
+ for elem in html.find(is_class("p-title-value")).children:
172
+ if not is_class("labelLink")(elem) and not is_class("label-append")(elem):
173
+ name += elem.text
174
+ name = fixed_spaces(sanitize_whitespace(re.search(r"^\s*(.*?)(?:\s*\[.*?\]\s*)*$", name).group(1)))
175
176
developer = get_game_attr(
177
"developer/publisher",
0 commit comments