From 619b388350e7ef1bb0c841c09b652230afd66e05 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Mon, 16 Nov 2015 13:27:27 +0100 Subject: Update plus.google.com.txt --- plus.google.com.txt | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/plus.google.com.txt b/plus.google.com.txt index 4a7ea12..ea36f5b 100644 --- a/plus.google.com.txt +++ b/plus.google.com.txt @@ -1,10 +1,6 @@ -body: //div[@id='contentPane']//div[@class='vg'] -body: //div[@id='contentPane'] - -# Grab the author by finding the first profile pic, then backing up a node and getting the title of tag which will be the author hopefully. Sorry can't test this due to parser errors, thanks google :( - -author: //div[@id='contentPane']//img[contains(@alt, 'profile photo')][1]/../@title +body: //div[contains(concat(' ',normalize-space(@class),' '),' Ig ')]//div//div[contains(concat(' ',normalize-space(@class),' '),' Ct ')] +author: //div[@id='contentPane']//h3//a[@rel="author"]/@content strip: //*[@title="People who +1'd this"]/../.. strip: //*[contains(@class, 'a-b-f-i-Hg-Uf')] @@ -14,4 +10,5 @@ strip: //*[@class='a-f-i-Ad'] tidy: no -test_url: http://plus.google.com/u/0/117840649766034848455/posts/FddaP6jeCqp \ No newline at end of file +test_url: http://plus.google.com/u/0/117840649766034848455/posts/FddaP6jeCqp +test_url: https://plus.google.com/+googleplus/posts/d1XubVAZ5hV -- cgit v1.3.1