{"action":"created","issue":{"url":"https://api.github.com/repos/oncletom/tld.js/issues/53","labels_url":"https://api.github.com/repos/oncletom/tld.js/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/oncletom/tld.js/issues/53/comments","events_url":"https://api.github.com/repos/oncletom/tld.js/issues/53/events","html_url":"https://github.com/oncletom/tld.js/issues/53","id":55390508,"number":53,"title":"Domain extraction bug","user":{"login":"ghostwords","id":794578,"avatar_url":"https://avatars.githubusercontent.com/u/794578?v=3","gravatar_id":"","url":"https://api.github.com/users/ghostwords","html_url":"https://github.com/ghostwords","followers_url":"https://api.github.com/users/ghostwords/followers","following_url":"https://api.github.com/users/ghostwords/following{/other_user}","gists_url":"https://api.github.com/users/ghostwords/gists{/gist_id}","starred_url":"https://api.github.com/users/ghostwords/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghostwords/subscriptions","organizations_url":"https://api.github.com/users/ghostwords/orgs","repos_url":"https://api.github.com/users/ghostwords/repos","events_url":"https://api.github.com/users/ghostwords/events{/privacy}","received_events_url":"https://api.github.com/users/ghostwords/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oncletom/tld.js/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-25T00:33:09Z","updated_at":"2015-01-26T22:29:09Z","closed_at":null,"body":"Two similar failing examples:\r\n\r\n```javascript\r\ntldjs.getDomain(\"http://cdn.jsdelivr.net/g/jquery@1.8.2,jquery.waypoints@2.0.2,qtip2@2.2.1,typeahead.js@0.9.3,sisyphus@0.1,jquery.slick@1.3.15,fastclick@1.0.3\")\r\n//\"0.3\"\r\ntldjs.getDomain(\"http://cdn.jsdelivr.net/g/jquery@1.8.2,jquery.waypoints@2.0.2,qtip2@2.2.1,typeahead.js@0.9.3,sisyphus@0.1,jquery.slick@1.3.15,fastclick@1.0.3,jquery.cookie@1.3.1,jquery.jscroll@2.2.4\")\r\n//\"2.4\"\r\n```\r\nObserved in the Web version (http://wzrd.in/standalone/tldjs) and in tld.js from npm.\r\n\r\nCompare with [tldextract](https://github.com/john-kurkowski/tldextract) (Python module):\r\n```shell\r\n$ curl \"http://tldextract.appspot.com/api/extract?url=http://cdn.jsdelivr.net/g/jquery@1.8.2,jquery.waypoints@2.0.2,qtip2@2.2.1,typeahead.js@0.9.3,sisyphus@0.1,jquery.slick@1.3.15,fastclick@1.0.3\"\r\n{\"domain\": \"jsdelivr\", \"subdomain\": \"cdn\", \"suffix\": \"net\", \"tld\": \"net\"}\r\n```"},"comment":{"url":"https://api.github.com/repos/oncletom/tld.js/issues/comments/71552257","html_url":"https://github.com/oncletom/tld.js/issues/53#issuecomment-71552257","issue_url":"https://api.github.com/repos/oncletom/tld.js/issues/53","id":71552257,"user":{"login":"oncletom","id":138627,"avatar_url":"https://avatars.githubusercontent.com/u/138627?v=3","gravatar_id":"","url":"https://api.github.com/users/oncletom","html_url":"https://github.com/oncletom","followers_url":"https://api.github.com/users/oncletom/followers","following_url":"https://api.github.com/users/oncletom/following{/other_user}","gists_url":"https://api.github.com/users/oncletom/gists{/gist_id}","starred_url":"https://api.github.com/users/oncletom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oncletom/subscriptions","organizations_url":"https://api.github.com/users/oncletom/orgs","repos_url":"https://api.github.com/users/oncletom/repos","events_url":"https://api.github.com/users/oncletom/events{/privacy}","received_events_url":"https://api.github.com/users/oncletom/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T22:29:09Z","updated_at":"2015-01-26T22:29:09Z","body":"Interesting one! It should definitely have caught the `.net`.\r\n\r\nThanks for reporting it — will try to find some time to fix this."}}