We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33cf9aa commit 30ad9f0Copy full SHA for 30ad9f0
core/boostrenderer.py
@@ -47,9 +47,13 @@ def get_meta_redirect_from_html(html_string: str) -> str | None:
47
48
redirect_url = None
49
if meta_tag:
50
- meta_tag_content = meta_tag.get("content").lower()
+ meta_tag_content = meta_tag.get("content")
51
if meta_tag_content:
52
- redirect_url = meta_tag_content.split("url=")[1]
+ if "URL=" in meta_tag_content:
53
+ split_on = "URL="
54
+ else:
55
+ split_on = "url="
56
+ redirect_url = meta_tag_content.split(split_on)[1]
57
58
return redirect_url
59
0 commit comments