# mobile site (automatic redirect - noscript meta refresh) title: concat("Tweet from ", (//*[contains(@class, 'UserNames-displayName') or contains(@class, 'fullname')])[1]) author: (//*[contains(@class, 'UserNames-displayName') or contains(@class, 'fullname')])[1] body: (//div[contains(@class, 'TweetDetail-text') or contains(@class, 'tweet-text')])[1] date: (//div[contains(@class, 'TweetDetail-timeAndGeo') or contains(@class, 'metadata')])[1] parser: html5php # Twitter does not show the content without JavaScript anymore # Using the Googlebot UA seems to give back the content, for now http_header(User-Agent): Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) # avoid error if Twitter define that cookie first, because it contains invalid character http_header(Cookie): personalization_id=1; prune: no tidy: yes test_url: https://mobile.twitter.com/medialens/status/216883678582804480 test_contains: is all but alone in challenging the tsunami of UK