1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-18 13:42:17 -05:00
wallabag/inc/3rdparty/site_config/standard/buzzfeed.com.txt
2014-10-27 06:46:13 +01:00

24 lines
665 B
Plaintext
Executable File

# Creator: Greg Leuch <greg@...>
# It can be messy.
tidy:no
# The basic template.
title: //h1[@data-print='title']
author: //a[@data-print='author']
date: //time[@data-print='date']
body: //div[@data-print='body']
body: //section[@data-print='body']
find_string: rel:bf_image_src=
replace_string: src=
find_string: src="data:
replace_string: disabled_src="data:
native_ad_clue: //meta[@property="article:section" and @content="Advertiser"]
# For various things...
strip: *[@data-print="ignore"]
test_url: http://www.buzzfeed.com/hgrant/35-reasons-why-dogs-hate-the-holidays
# Native ad
test_url: http://www.buzzfeed.com/bravo/ways-to-up-your-online-dating-game