{"action":"created","comment":{"url":"https://api.github.com/repos/scrapinghub/dateparser/pulls/comments/23824514","id":23824514,"diff_hunk":"@@ -214,19 +217,21 @@ def _is_valid_date_obj(self, date_obj):\n \n class DateDataParser(object):\n \n-    def __init__(self, language=None, allow_redetect_language=False):\n-        if isinstance(language, basestring):\n+    def __init__(self, languages=None, allow_redetect_language=False):\n+        if isinstance(languages, collections.Iterable):","path":"dateparser/date.py","position":null,"original_position":65,"commit_id":"14360bb627d0b681fe8cf60df44b8abb3ea39cee","original_commit_id":"acf8235972b6651e66a8c51f3834156f9369dd00","user":{"login":"waqasshabbir","id":1888537,"avatar_url":"https://avatars.githubusercontent.com/u/1888537?v=3","gravatar_id":"","url":"https://api.github.com/users/waqasshabbir","html_url":"https://github.com/waqasshabbir","followers_url":"https://api.github.com/users/waqasshabbir/followers","following_url":"https://api.github.com/users/waqasshabbir/following{/other_user}","gists_url":"https://api.github.com/users/waqasshabbir/gists{/gist_id}","starred_url":"https://api.github.com/users/waqasshabbir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waqasshabbir/subscriptions","organizations_url":"https://api.github.com/users/waqasshabbir/orgs","repos_url":"https://api.github.com/users/waqasshabbir/repos","events_url":"https://api.github.com/users/waqasshabbir/events{/privacy}","received_events_url":"https://api.github.com/users/waqasshabbir/received_events","type":"User","site_admin":false},"body":"Just adopted this change and the one advised below. Please review.","created_at":"2015-01-30T05:12:02Z","updated_at":"2015-01-30T05:12:02Z","html_url":"https://github.com/scrapinghub/dateparser/pull/47#discussion_r23824514","pull_request_url":"https://api.github.com/repos/scrapinghub/dateparser/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/scrapinghub/dateparser/pulls/comments/23824514"},"html":{"href":"https://github.com/scrapinghub/dateparser/pull/47#discussion_r23824514"},"pull_request":{"href":"https://api.github.com/repos/scrapinghub/dateparser/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/scrapinghub/dateparser/pulls/47","id":28269386,"html_url":"https://github.com/scrapinghub/dateparser/pull/47","diff_url":"https://github.com/scrapinghub/dateparser/pull/47.diff","patch_url":"https://github.com/scrapinghub/dateparser/pull/47.patch","issue_url":"https://api.github.com/repos/scrapinghub/dateparser/issues/47","number":47,"state":"open","locked":false,"title":"Feature limit subset of languages","user":{"login":"waqasshabbir","id":1888537,"avatar_url":"https://avatars.githubusercontent.com/u/1888537?v=3","gravatar_id":"","url":"https://api.github.com/users/waqasshabbir","html_url":"https://github.com/waqasshabbir","followers_url":"https://api.github.com/users/waqasshabbir/followers","following_url":"https://api.github.com/users/waqasshabbir/following{/other_user}","gists_url":"https://api.github.com/users/waqasshabbir/gists{/gist_id}","starred_url":"https://api.github.com/users/waqasshabbir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waqasshabbir/subscriptions","organizations_url":"https://api.github.com/users/waqasshabbir/orgs","repos_url":"https://api.github.com/users/waqasshabbir/repos","events_url":"https://api.github.com/users/waqasshabbir/events{/privacy}","received_events_url":"https://api.github.com/users/waqasshabbir/received_events","type":"User","site_admin":false},"body":"Refactored ExactLanguage to ExactLanguages to accept a list of languages.\r\nAdded relevant tests.","created_at":"2015-01-29T10:52:48Z","updated_at":"2015-01-30T05:12:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d087be07e3c800c79d7c1597837031d6e432555","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scrapinghub/dateparser/pulls/47/commits","review_comments_url":"https://api.github.com/repos/scrapinghub/dateparser/pulls/47/comments","review_comment_url":"https://api.github.com/repos/scrapinghub/dateparser/pulls/comments/{number}","comments_url":"https://api.github.com/repos/scrapinghub/dateparser/issues/47/comments","statuses_url":"https://api.github.com/repos/scrapinghub/dateparser/statuses/14360bb627d0b681fe8cf60df44b8abb3ea39cee","head":{"label":"scrapinghub:feature-limit-subset-of-languages","ref":"feature-limit-subset-of-languages","sha":"14360bb627d0b681fe8cf60df44b8abb3ea39cee","user":{"login":"scrapinghub","id":699596,"avatar_url":"https://avatars.githubusercontent.com/u/699596?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"repo":{"id":27086567,"name":"dateparser","full_name":"scrapinghub/dateparser","owner":{"login":"scrapinghub","id":699596,"avatar_url":"https://avatars.githubusercontent.com/u/699596?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scrapinghub/dateparser","description":"python parser for human readable dates","fork":false,"url":"https://api.github.com/repos/scrapinghub/dateparser","forks_url":"https://api.github.com/repos/scrapinghub/dateparser/forks","keys_url":"https://api.github.com/repos/scrapinghub/dateparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scrapinghub/dateparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scrapinghub/dateparser/teams","hooks_url":"https://api.github.com/repos/scrapinghub/dateparser/hooks","issue_events_url":"https://api.github.com/repos/scrapinghub/dateparser/issues/events{/number}","events_url":"https://api.github.com/repos/scrapinghub/dateparser/events","assignees_url":"https://api.github.com/repos/scrapinghub/dateparser/assignees{/user}","branches_url":"https://api.github.com/repos/scrapinghub/dateparser/branches{/branch}","tags_url":"https://api.github.com/repos/scrapinghub/dateparser/tags","blobs_url":"https://api.github.com/repos/scrapinghub/dateparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scrapinghub/dateparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scrapinghub/dateparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/scrapinghub/dateparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scrapinghub/dateparser/statuses/{sha}","languages_url":"https://api.github.com/repos/scrapinghub/dateparser/languages","stargazers_url":"https://api.github.com/repos/scrapinghub/dateparser/stargazers","contributors_url":"https://api.github.com/repos/scrapinghub/dateparser/contributors","subscribers_url":"https://api.github.com/repos/scrapinghub/dateparser/subscribers","subscription_url":"https://api.github.com/repos/scrapinghub/dateparser/subscription","commits_url":"https://api.github.com/repos/scrapinghub/dateparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/scrapinghub/dateparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/scrapinghub/dateparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/scrapinghub/dateparser/issues/comments/{number}","contents_url":"https://api.github.com/repos/scrapinghub/dateparser/contents/{+path}","compare_url":"https://api.github.com/repos/scrapinghub/dateparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scrapinghub/dateparser/merges","archive_url":"https://api.github.com/repos/scrapinghub/dateparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scrapinghub/dateparser/downloads","issues_url":"https://api.github.com/repos/scrapinghub/dateparser/issues{/number}","pulls_url":"https://api.github.com/repos/scrapinghub/dateparser/pulls{/number}","milestones_url":"https://api.github.com/repos/scrapinghub/dateparser/milestones{/number}","notifications_url":"https://api.github.com/repos/scrapinghub/dateparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scrapinghub/dateparser/labels{/name}","releases_url":"https://api.github.com/repos/scrapinghub/dateparser/releases{/id}","created_at":"2014-11-24T17:30:12Z","updated_at":"2015-01-29T23:21:22Z","pushed_at":"2015-01-30T05:05:30Z","git_url":"git://github.com/scrapinghub/dateparser.git","ssh_url":"git@github.com:scrapinghub/dateparser.git","clone_url":"https://github.com/scrapinghub/dateparser.git","svn_url":"https://github.com/scrapinghub/dateparser","homepage":"","size":1037,"stargazers_count":329,"watchers_count":329,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":13,"forks":21,"open_issues":13,"watchers":329,"default_branch":"master"}},"base":{"label":"scrapinghub:master","ref":"master","sha":"e109b01286c4f8ccc1638af3c75d4456adad3795","user":{"login":"scrapinghub","id":699596,"avatar_url":"https://avatars.githubusercontent.com/u/699596?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"repo":{"id":27086567,"name":"dateparser","full_name":"scrapinghub/dateparser","owner":{"login":"scrapinghub","id":699596,"avatar_url":"https://avatars.githubusercontent.com/u/699596?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scrapinghub/dateparser","description":"python parser for human readable dates","fork":false,"url":"https://api.github.com/repos/scrapinghub/dateparser","forks_url":"https://api.github.com/repos/scrapinghub/dateparser/forks","keys_url":"https://api.github.com/repos/scrapinghub/dateparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scrapinghub/dateparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scrapinghub/dateparser/teams","hooks_url":"https://api.github.com/repos/scrapinghub/dateparser/hooks","issue_events_url":"https://api.github.com/repos/scrapinghub/dateparser/issues/events{/number}","events_url":"https://api.github.com/repos/scrapinghub/dateparser/events","assignees_url":"https://api.github.com/repos/scrapinghub/dateparser/assignees{/user}","branches_url":"https://api.github.com/repos/scrapinghub/dateparser/branches{/branch}","tags_url":"https://api.github.com/repos/scrapinghub/dateparser/tags","blobs_url":"https://api.github.com/repos/scrapinghub/dateparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scrapinghub/dateparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scrapinghub/dateparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/scrapinghub/dateparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scrapinghub/dateparser/statuses/{sha}","languages_url":"https://api.github.com/repos/scrapinghub/dateparser/languages","stargazers_url":"https://api.github.com/repos/scrapinghub/dateparser/stargazers","contributors_url":"https://api.github.com/repos/scrapinghub/dateparser/contributors","subscribers_url":"https://api.github.com/repos/scrapinghub/dateparser/subscribers","subscription_url":"https://api.github.com/repos/scrapinghub/dateparser/subscription","commits_url":"https://api.github.com/repos/scrapinghub/dateparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/scrapinghub/dateparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/scrapinghub/dateparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/scrapinghub/dateparser/issues/comments/{number}","contents_url":"https://api.github.com/repos/scrapinghub/dateparser/contents/{+path}","compare_url":"https://api.github.com/repos/scrapinghub/dateparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scrapinghub/dateparser/merges","archive_url":"https://api.github.com/repos/scrapinghub/dateparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scrapinghub/dateparser/downloads","issues_url":"https://api.github.com/repos/scrapinghub/dateparser/issues{/number}","pulls_url":"https://api.github.com/repos/scrapinghub/dateparser/pulls{/number}","milestones_url":"https://api.github.com/repos/scrapinghub/dateparser/milestones{/number}","notifications_url":"https://api.github.com/repos/scrapinghub/dateparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scrapinghub/dateparser/labels{/name}","releases_url":"https://api.github.com/repos/scrapinghub/dateparser/releases{/id}","created_at":"2014-11-24T17:30:12Z","updated_at":"2015-01-29T23:21:22Z","pushed_at":"2015-01-30T05:05:30Z","git_url":"git://github.com/scrapinghub/dateparser.git","ssh_url":"git@github.com:scrapinghub/dateparser.git","clone_url":"https://github.com/scrapinghub/dateparser.git","svn_url":"https://github.com/scrapinghub/dateparser","homepage":"","size":1037,"stargazers_count":329,"watchers_count":329,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":13,"forks":21,"open_issues":13,"watchers":329,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scrapinghub/dateparser/pulls/47"},"html":{"href":"https://github.com/scrapinghub/dateparser/pull/47"},"issue":{"href":"https://api.github.com/repos/scrapinghub/dateparser/issues/47"},"comments":{"href":"https://api.github.com/repos/scrapinghub/dateparser/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/scrapinghub/dateparser/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/scrapinghub/dateparser/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/scrapinghub/dateparser/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/scrapinghub/dateparser/statuses/14360bb627d0b681fe8cf60df44b8abb3ea39cee"}}}}