...
|
...
|
@@ -84,7 +84,7 @@ def article(url):
|
84
|
84
|
article_only = re.sub(r"<aside(.+)/>",'',article_only,flags=re.M|re.S)
|
85
|
85
|
article_only = re.sub(r"<noscript(.+)</noscript>",'',article_only,flags=re.M|re.S)
|
86
|
86
|
#article_only = re.sub(r"",'',article_only)
|
87
|
|
- article_only = re.sub(r"href=\"/",'href="https://slate.com/,',article_only)
|
|
87
|
+ article_only = re.sub(r"href=\"/",'href="https://slate.com/',article_only)
|
88
|
88
|
article_only = re.sub(r"^$",'',article_only)
|
89
|
89
|
article_only = re.sub(r'^\s*$', '',article_only,flags=re.M|re.S)
|
90
|
90
|
|