{"action":"created","comment":{"url":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls/comments/77120413","id":77120413,"diff_hunk":"@@ -438,16 +439,11 @@ def generateDeviceId(self, seed):\n         return 'android-' + m.hexdigest()[:16]\r\n \r\n     def generateUUID(self, type):\r\n-        uuid = '%04x%04x-%04x-%04x-%04x-%04x%04x%04x' % (random.randint(0, 0xffff),\r\n-               random.randint(0, 0xffff), random.randint(0, 0xffff),\r\n-               random.randint(0, 0x0fff) | 0x4000,\r\n-               random.randint(0, 0x3fff) | 0x8000,\r\n-               random.randint(0, 0xffff), random.randint(0, 0xffff),\r\n-               random.randint(0, 0xffff))\r\n+        temp_uuid = str(uuid.uuid4())\r","path":"InstagramAPI.py","position":null,"original_position":18,"commit_id":"40419a103b9471e57d7c1400a2a9e2772035c9cd","original_commit_id":"773f69e86c0b4e39d67101fe7a91d29e23817de0","user":{"login":"ahmdrz","id":16955684,"avatar_url":"https://avatars.githubusercontent.com/u/16955684?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmdrz","html_url":"https://github.com/ahmdrz","followers_url":"https://api.github.com/users/ahmdrz/followers","following_url":"https://api.github.com/users/ahmdrz/following{/other_user}","gists_url":"https://api.github.com/users/ahmdrz/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmdrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmdrz/subscriptions","organizations_url":"https://api.github.com/users/ahmdrz/orgs","repos_url":"https://api.github.com/users/ahmdrz/repos","events_url":"https://api.github.com/users/ahmdrz/events{/privacy}","received_events_url":"https://api.github.com/users/ahmdrz/received_events","type":"User","site_admin":false},"body":"Old codes commented on the source code.\r\nIs still `import random` needed ?\r\n","created_at":"2016-09-01T06:32:39Z","updated_at":"2016-09-01T06:32:39Z","html_url":"https://github.com/LevPasha/Instagram-API-python/pull/16#discussion_r77120413","pull_request_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls/comments/77120413"},"html":{"href":"https://github.com/LevPasha/Instagram-API-python/pull/16#discussion_r77120413"},"pull_request":{"href":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls/16","id":83573196,"html_url":"https://github.com/LevPasha/Instagram-API-python/pull/16","diff_url":"https://github.com/LevPasha/Instagram-API-python/pull/16.diff","patch_url":"https://github.com/LevPasha/Instagram-API-python/pull/16.patch","issue_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/16","number":16,"state":"open","locked":false,"title":"Two self methods added","user":{"login":"ahmdrz","id":16955684,"avatar_url":"https://avatars.githubusercontent.com/u/16955684?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmdrz","html_url":"https://github.com/ahmdrz","followers_url":"https://api.github.com/users/ahmdrz/followers","following_url":"https://api.github.com/users/ahmdrz/following{/other_user}","gists_url":"https://api.github.com/users/ahmdrz/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmdrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmdrz/subscriptions","organizations_url":"https://api.github.com/users/ahmdrz/orgs","repos_url":"https://api.github.com/users/ahmdrz/repos","events_url":"https://api.github.com/users/ahmdrz/events{/privacy}","received_events_url":"https://api.github.com/users/ahmdrz/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-01T05:40:03Z","updated_at":"2016-09-01T06:32:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a30eb124be5da52f68f2436e284228b4b11205d8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls/16/commits","review_comments_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls/16/comments","review_comment_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/16/comments","statuses_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/statuses/40419a103b9471e57d7c1400a2a9e2772035c9cd","head":{"label":"ahmdrz:master","ref":"master","sha":"40419a103b9471e57d7c1400a2a9e2772035c9cd","user":{"login":"ahmdrz","id":16955684,"avatar_url":"https://avatars.githubusercontent.com/u/16955684?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmdrz","html_url":"https://github.com/ahmdrz","followers_url":"https://api.github.com/users/ahmdrz/followers","following_url":"https://api.github.com/users/ahmdrz/following{/other_user}","gists_url":"https://api.github.com/users/ahmdrz/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmdrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmdrz/subscriptions","organizations_url":"https://api.github.com/users/ahmdrz/orgs","repos_url":"https://api.github.com/users/ahmdrz/repos","events_url":"https://api.github.com/users/ahmdrz/events{/privacy}","received_events_url":"https://api.github.com/users/ahmdrz/received_events","type":"User","site_admin":false},"repo":{"id":67039294,"name":"Instagram-API-python","full_name":"ahmdrz/Instagram-API-python","owner":{"login":"ahmdrz","id":16955684,"avatar_url":"https://avatars.githubusercontent.com/u/16955684?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmdrz","html_url":"https://github.com/ahmdrz","followers_url":"https://api.github.com/users/ahmdrz/followers","following_url":"https://api.github.com/users/ahmdrz/following{/other_user}","gists_url":"https://api.github.com/users/ahmdrz/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmdrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmdrz/subscriptions","organizations_url":"https://api.github.com/users/ahmdrz/orgs","repos_url":"https://api.github.com/users/ahmdrz/repos","events_url":"https://api.github.com/users/ahmdrz/events{/privacy}","received_events_url":"https://api.github.com/users/ahmdrz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ahmdrz/Instagram-API-python","description":"Unofficial instagram API, give you access to ALL instagram features (like, follow, upload photo and video and etc)! Write on python.","fork":true,"url":"https://api.github.com/repos/ahmdrz/Instagram-API-python","forks_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/forks","keys_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/teams","hooks_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/hooks","issue_events_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/issues/events{/number}","events_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/events","assignees_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/assignees{/user}","branches_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/branches{/branch}","tags_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/tags","blobs_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/statuses/{sha}","languages_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/languages","stargazers_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/stargazers","contributors_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/contributors","subscribers_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/subscribers","subscription_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/subscription","commits_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/contents/{+path}","compare_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/merges","archive_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/downloads","issues_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/issues{/number}","pulls_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/pulls{/number}","milestones_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/milestones{/number}","notifications_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/labels{/name}","releases_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/releases{/id}","deployments_url":"https://api.github.com/repos/ahmdrz/Instagram-API-python/deployments","created_at":"2016-08-31T13:21:01Z","updated_at":"2016-08-31T13:21:02Z","pushed_at":"2016-09-01T06:26:51Z","git_url":"git://github.com/ahmdrz/Instagram-API-python.git","ssh_url":"git@github.com:ahmdrz/Instagram-API-python.git","clone_url":"https://github.com/ahmdrz/Instagram-API-python.git","svn_url":"https://github.com/ahmdrz/Instagram-API-python","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LevPasha:master","ref":"master","sha":"75c27e8901b2977eb0248a8d40d736b3d4579e7b","user":{"login":"LevPasha","id":9821835,"avatar_url":"https://avatars.githubusercontent.com/u/9821835?v=3","gravatar_id":"","url":"https://api.github.com/users/LevPasha","html_url":"https://github.com/LevPasha","followers_url":"https://api.github.com/users/LevPasha/followers","following_url":"https://api.github.com/users/LevPasha/following{/other_user}","gists_url":"https://api.github.com/users/LevPasha/gists{/gist_id}","starred_url":"https://api.github.com/users/LevPasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LevPasha/subscriptions","organizations_url":"https://api.github.com/users/LevPasha/orgs","repos_url":"https://api.github.com/users/LevPasha/repos","events_url":"https://api.github.com/users/LevPasha/events{/privacy}","received_events_url":"https://api.github.com/users/LevPasha/received_events","type":"User","site_admin":false},"repo":{"id":60518540,"name":"Instagram-API-python","full_name":"LevPasha/Instagram-API-python","owner":{"login":"LevPasha","id":9821835,"avatar_url":"https://avatars.githubusercontent.com/u/9821835?v=3","gravatar_id":"","url":"https://api.github.com/users/LevPasha","html_url":"https://github.com/LevPasha","followers_url":"https://api.github.com/users/LevPasha/followers","following_url":"https://api.github.com/users/LevPasha/following{/other_user}","gists_url":"https://api.github.com/users/LevPasha/gists{/gist_id}","starred_url":"https://api.github.com/users/LevPasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LevPasha/subscriptions","organizations_url":"https://api.github.com/users/LevPasha/orgs","repos_url":"https://api.github.com/users/LevPasha/repos","events_url":"https://api.github.com/users/LevPasha/events{/privacy}","received_events_url":"https://api.github.com/users/LevPasha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LevPasha/Instagram-API-python","description":"Unofficial instagram API, give you access to ALL instagram features (like, follow, upload photo and video and etc)! Write on python.","fork":false,"url":"https://api.github.com/repos/LevPasha/Instagram-API-python","forks_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/forks","keys_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/teams","hooks_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/hooks","issue_events_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/events{/number}","events_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/events","assignees_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/assignees{/user}","branches_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/branches{/branch}","tags_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/tags","blobs_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/statuses/{sha}","languages_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/languages","stargazers_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/stargazers","contributors_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/contributors","subscribers_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/subscribers","subscription_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/subscription","commits_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/contents/{+path}","compare_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/merges","archive_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/downloads","issues_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues{/number}","pulls_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls{/number}","milestones_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/milestones{/number}","notifications_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/labels{/name}","releases_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/releases{/id}","deployments_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/deployments","created_at":"2016-06-06T10:09:52Z","updated_at":"2016-08-28T19:35:17Z","pushed_at":"2016-09-01T06:26:51Z","git_url":"git://github.com/LevPasha/Instagram-API-python.git","ssh_url":"git@github.com:LevPasha/Instagram-API-python.git","clone_url":"https://github.com/LevPasha/Instagram-API-python.git","svn_url":"https://github.com/LevPasha/Instagram-API-python","homepage":null,"size":20,"stargazers_count":42,"watchers_count":42,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":8,"forks":17,"open_issues":8,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls/16"},"html":{"href":"https://github.com/LevPasha/Instagram-API-python/pull/16"},"issue":{"href":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/16"},"comments":{"href":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LevPasha/Instagram-API-python/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/LevPasha/Instagram-API-python/statuses/40419a103b9471e57d7c1400a2a9e2772035c9cd"}}}}
{"actor":{"display_login":"ahmdrz"}}