{"action":"opened","issue":{"url":"https://api.github.com/repos/jeroenjanssens/data-science-at-the-command-line/issues/47","repository_url":"https://api.github.com/repos/jeroenjanssens/data-science-at-the-command-line","labels_url":"https://api.github.com/repos/jeroenjanssens/data-science-at-the-command-line/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/jeroenjanssens/data-science-at-the-command-line/issues/47/comments","events_url":"https://api.github.com/repos/jeroenjanssens/data-science-at-the-command-line/issues/47/events","html_url":"https://github.com/jeroenjanssens/data-science-at-the-command-line/issues/47","id":131948742,"number":47,"title":"scrape does not accept right XPath query?","user":{"login":"aborruso","id":30607,"avatar_url":"https://avatars.githubusercontent.com/u/30607?v=3","gravatar_id":"","url":"https://api.github.com/users/aborruso","html_url":"https://github.com/aborruso","followers_url":"https://api.github.com/users/aborruso/followers","following_url":"https://api.github.com/users/aborruso/following{/other_user}","gists_url":"https://api.github.com/users/aborruso/gists{/gist_id}","starred_url":"https://api.github.com/users/aborruso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aborruso/subscriptions","organizations_url":"https://api.github.com/users/aborruso/orgs","repos_url":"https://api.github.com/users/aborruso/repos","events_url":"https://api.github.com/users/aborruso/events{/privacy}","received_events_url":"https://api.github.com/users/aborruso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-07T08:26:35Z","updated_at":"2016-02-07T08:26:35Z","closed_at":null,"body":"Hi,\r\nI need to do this query\r\n\r\n    curl -L -s -A \"User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0\" \"http://www.unionesulserio.it\"  | /usr/local/bin/nadir/scrape -be '(//a[(contains(.,\"pretorio\")) or (contains(.,\"Pretorio\"))])[1]'\r\n\r\nI have tested `'(//a[(contains(.,\"pretorio\")) or (contains(.,\"Pretorio\"))])[1]` XPath query with other tools and it seems to work, but scrape gives me \"Invalid CSS selector\".\r\n\r\nIs my XPath really wrong?\r\n\r\nThank you"}}