|
|
@@ -216,10 +216,11 @@ def lfionlinede(matchgroup, domain, i):
|
|
|
with urllib.request.urlopen(matchgroup[1]) as response:
|
|
|
html = response.read()
|
|
|
logger.debug(f"{matchgroup[1]} -- {len(html.decode('utf-8'))}")
|
|
|
- regex = r"""<div class="card">\s*<a href="(.*?)">.*?<p class="date l12 "><span class="story-flag">STORIES.*?</span><span>.*?</span></p>\s*<h3 class="l-b24 m-b18 s-b18">(.*?)</h3>(.*?)<div class="foldable.*?src="(# .*?)" """
|
|
|
+# regex = r"""<div class="card">\s*<a href="(.*?)">.*?<p class="date l12 "><span class="story-flag">STORIES.*?</span><span>.*?</span></p>\s*<h3 class="l-b24 m-b18 s-b18">(.*?)</h3>(.*?)<div class="foldable.*?src="(# .*?)" """
|
|
|
+ regex = r"""<a href="([^"]*?)">.*?<p class=".*?"><span class="story-flag">STORIES.*?<h3 class.*?>(.*?)</h3>.*?src="(.*?)" """
|
|
|
p = re.search( regex, html.decode('utf-8'), re_flags )
|
|
|
- if p[4].endswith('lfi-plus.svg'):
|
|
|
- # print('brämium condend, exiting')
|
|
|
+ if p[3].endswith('lfi-plus.svg'):
|
|
|
+ # print('brämium gondend, exiting')
|
|
|
quit()
|
|
|
string2hash = p[0]
|
|
|
logger.debug(f"{p[0]}")
|