The table before the first section The Purge (2013) on https://en.wikipedia.org/w/index.php?title=The_Purge&oldid=1215947399#Films
The Purge (2013)
diff --git a/notifyOnWebpageChange.py b/notifyOnWebpageChange.py index 2d274e8..2ca1f88 100755 --- a/notifyOnWebpageChange.py +++ b/notifyOnWebpageChange.py @@ -143,9 +143,16 @@ webpages = [ 'url': getWikipediaUrl('Futurama_(season_8)', 5), 'filterText': lambda text : '\n'.join([template.get_arg('OriginalAirDate').string for template in wtp.parse(getWikipediaText(text)).templates[1].templates[30:50:2]]), }, + # Should retrieve changes instead of whole new webpage. + # Also tracking a potential new subsection would be nice. + # https://gitea.lemnoslife.com/Benjamin_Loison/wikitextparser/issues/1 + { + 'url': getWikipediaUrl('The_Purge', 7), + 'filterText': lambda text : getWikipediaText(text), + }, { 'url': getWikipediaUrl('The_Purge', 1), - 'filterText': getWikipediaText, + 'filterText' : lambda text : '\n'.join([template.string for template in wtp.parse(getWikipediaText(text)).templates[:7]]) }, { 'url': 'https://opus-codec.org/downloads/',
No dependencies set.
The note is not visible to the blocked user.
The table before the first section
The Purge (2013)on https://en.wikipedia.org/w/index.php?title=The_Purge&oldid=1215947399#Films