Revert "Collapse watchlist alternative titles"
This reverts commit 0c1b46e395.
This commit is contained in:
@@ -199,16 +199,6 @@ def parse_allmanga_alternative_titles(html_text, primary_title=""):
|
||||
for match in re.findall(r'"([^"]+)"', body):
|
||||
add_candidate(match, english_preferred=english_preferred)
|
||||
|
||||
for match in re.findall(
|
||||
r'<span[^>]*class="[^"]*\baltnames\b[^"]*"[^>]*>\s*(.*?)\s*</span>',
|
||||
text,
|
||||
flags=re.IGNORECASE | re.DOTALL,
|
||||
):
|
||||
cleaned = re.sub(r"<[^>]+>", " ", match)
|
||||
cleaned = cleaned.replace(" ", " ")
|
||||
cleaned = re.sub(r"^[\s\u25cf\u26aa\u2022]+", "", cleaned)
|
||||
add_candidate(cleaned, english_preferred=not preferred_english)
|
||||
|
||||
deduped = unique_title_values(candidates, primary)
|
||||
english_title = ""
|
||||
for candidate in unique_title_values([preferred_english], primary):
|
||||
|
||||
Reference in New Issue
Block a user