Update Gmeek.py
This commit is contained in:
parent
4b25932edc
commit
8e6813fd7c
5
Gmeek.py
5
Gmeek.py
@ -160,10 +160,7 @@ class GMEEK():
|
||||
)
|
||||
|
||||
if '<code class="notranslate">Gmeek-html' in post_body:
|
||||
print("==========")
|
||||
print(post_body)
|
||||
print("==========")
|
||||
post_body = html.unescape(re.sub(r'<code class="notranslate">Gmeek-html(.*?)</code>',r'\1',post_body,flags=re.DOTALL))
|
||||
post_body = re.sub(r'<code class="notranslate">Gmeek-html(.*?)</code>', lambda match: html.unescape(match.group(1)), post_body, flags=re.DOTALL)
|
||||
|
||||
postBase["postTitle"]=issue["postTitle"]
|
||||
postBase["postUrl"]=self.blogBase["homeUrl"]+"/"+issue["postUrl"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user