{"action":"created","issue":{"url":"https://api.github.com/repos/Norconex/collector-http/issues/381","repository_url":"https://api.github.com/repos/Norconex/collector-http","labels_url":"https://api.github.com/repos/Norconex/collector-http/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/Norconex/collector-http/issues/381/comments","events_url":"https://api.github.com/repos/Norconex/collector-http/issues/381/events","html_url":"https://github.com/Norconex/collector-http/issues/381","id":254031731,"number":381,"title":"restrictTo in second DOMTagger not working?","user":{"login":"liar666","id":3216927,"avatar_url":"https://avatars3.githubusercontent.com/u/3216927?v=4","gravatar_id":"","url":"https://api.github.com/users/liar666","html_url":"https://github.com/liar666","followers_url":"https://api.github.com/users/liar666/followers","following_url":"https://api.github.com/users/liar666/following{/other_user}","gists_url":"https://api.github.com/users/liar666/gists{/gist_id}","starred_url":"https://api.github.com/users/liar666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liar666/subscriptions","organizations_url":"https://api.github.com/users/liar666/orgs","repos_url":"https://api.github.com/users/liar666/repos","events_url":"https://api.github.com/users/liar666/events{/privacy}","received_events_url":"https://api.github.com/users/liar666/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-30T15:01:08Z","updated_at":"2017-08-31T09:25:22Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI've written a quite complicated crawler which shows a strange behaviour. I've tried to reduce its size to make it more readable. You'll find its code attached.\r\n\r\nThe problem is the following:\r\n- If I de-activate the `<restrictTo>` in the 2nd DOMTagger, this Tagger enters in action and works (extracts the wanted fields), but the crawler/tagger runs on too many pages, including the non-splitted pages, which is not wanted.\r\n- If I activate the `<restrictTo>` in the 2nd DOMTagger, this Tagger is never run and only the common fields are extracted for each split.\r\n\r\nI've checked the `<restrictTo>`'s regex millions of times, this is not the problem. But where could I be mistaken?\r\n\r\nI would be very thankful of any help since I've been stuck on this for 2 days and I'm now convinced it's a small mistake I cannot see by myself.\r\n\r\n[ResearchPerspectives.xml.txt](https://github.com/Norconex/collector-http/files/1264028/ResearchPerspectives.xml.txt)"},"comment":{"url":"https://api.github.com/repos/Norconex/collector-http/issues/comments/326241174","html_url":"https://github.com/Norconex/collector-http/issues/381#issuecomment-326241174","issue_url":"https://api.github.com/repos/Norconex/collector-http/issues/381","id":326241174,"user":{"login":"liar666","id":3216927,"avatar_url":"https://avatars3.githubusercontent.com/u/3216927?v=4","gravatar_id":"","url":"https://api.github.com/users/liar666","html_url":"https://github.com/liar666","followers_url":"https://api.github.com/users/liar666/followers","following_url":"https://api.github.com/users/liar666/following{/other_user}","gists_url":"https://api.github.com/users/liar666/gists{/gist_id}","starred_url":"https://api.github.com/users/liar666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liar666/subscriptions","organizations_url":"https://api.github.com/users/liar666/orgs","repos_url":"https://api.github.com/users/liar666/repos","events_url":"https://api.github.com/users/liar666/events{/privacy}","received_events_url":"https://api.github.com/users/liar666/received_events","type":"User","site_admin":false},"created_at":"2017-08-31T09:25:22Z","updated_at":"2017-08-31T09:25:22Z","author_association":"NONE","body":"Indeed, that's a tricky one.\r\n\r\nWoaw, what a fast answer! Thanks a lot I'll give it a try right now"}}
{"actor":{"display_login":"liar666"}}