|
@@ -14,11 +14,12 @@ def extract_comp(fname):
|
|
|
if inloop:
|
|
|
# if '<script async defer crossorigin="anonymous" src="https://connect.' in l:
|
|
|
# break
|
|
|
- if 'class="footer pt-1 d-none d-lg-block"' in l and 'footer' in l:
|
|
|
+ if '/article>' in l:
|
|
|
+ resultstr+=l
|
|
|
break
|
|
|
|
|
|
resultstr+=l+"\n"
|
|
|
- if 'class="dBlock"' in l and 'section' in l:
|
|
|
+ if 'class="dAbout"' in l and 'article' in l:
|
|
|
# if 'row justify-content-between mt-5' in l:
|
|
|
inloop=True
|
|
|
resultstr+=l+"\n"
|