Skip to content

Commit

Permalink
Create san.com.txt (#1369)
Browse files Browse the repository at this point in the history
  • Loading branch information
HolgerAusB committed Apr 27, 2024
1 parent 29cef86 commit 449b6cf
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions san.com.txt
@@ -0,0 +1,18 @@
body: //div[contains(concat(' ',normalize-space(@class),' '),' post-article ')] | //div[contains(concat(' ',normalize-space(@class),' '),' post-main ')]//div[not(contains(concat(' ',normalize-space(@class),' '),' post-article '))]//img[1]

date: //meta[@name='parsely-pub-date']/@content
# 1st or only author has double meta info in html
author: (//meta[@name='parsely-author'])[position()>1]/@content

strip_id_or_class: wp-block-san-app-download
strip_id_or_class: wp-block-san-core-content-header
strip_id_or_class: wp-block-san-san-author
strip_id_or_class: wp-block-san-toggle-transcript
strip_id_or_class: next-video

strip: //div[contains(@class, '-newsletter-signup')]
strip: //iframe

prune: no

test_url: https://san.com/cc/armed-drone-on-drone-violence-documented-in-ukraine/

0 comments on commit 449b6cf

Please sign in to comment.