{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/pulls/3","id":216201582,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2MjAxNTgy","html_url":"https://github.com/nanqinlang-script/CloudFlare_DNS_Record/pull/3","diff_url":"https://github.com/nanqinlang-script/CloudFlare_DNS_Record/pull/3.diff","patch_url":"https://github.com/nanqinlang-script/CloudFlare_DNS_Record/pull/3.patch","issue_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/issues/3","number":3,"state":"open","locked":false,"title":"提高易用性&bug修复","user":{"login":"dovela","id":33590269,"node_id":"MDQ6VXNlcjMzNTkwMjY5","avatar_url":"https://avatars3.githubusercontent.com/u/33590269?v=4","gravatar_id":"","url":"https://api.github.com/users/dovela","html_url":"https://github.com/dovela","followers_url":"https://api.github.com/users/dovela/followers","following_url":"https://api.github.com/users/dovela/following{/other_user}","gists_url":"https://api.github.com/users/dovela/gists{/gist_id}","starred_url":"https://api.github.com/users/dovela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dovela/subscriptions","organizations_url":"https://api.github.com/users/dovela/orgs","repos_url":"https://api.github.com/users/dovela/repos","events_url":"https://api.github.com/users/dovela/events{/privacy}","received_events_url":"https://api.github.com/users/dovela/received_events","type":"User","site_admin":false},"body":"经修改后，输上邮箱、api、zone_id、域名、ttl后，运行后，选1，可自动获取到record_id并填入config，再运行脚本--ddns即可，和原操作方法基本类似但简化。\r\n添加定时任务ddns更新\r\n同时有ipv4和ipv6时，curl ip.sb获取到的是ipv6地址，因此替换ip.sb为ifconfig.me\r\ncentos7测试通过","created_at":"2018-09-18T06:57:50Z","updated_at":"2018-09-18T06:57:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/pulls/3/commits","review_comments_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/pulls/3/comments","review_comment_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/issues/3/comments","statuses_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/statuses/604f9bd247f99b74c6ce230b0c86400c40145cfe","head":{"label":"dovela:Setter","ref":"Setter","sha":"604f9bd247f99b74c6ce230b0c86400c40145cfe","user":{"login":"dovela","id":33590269,"node_id":"MDQ6VXNlcjMzNTkwMjY5","avatar_url":"https://avatars3.githubusercontent.com/u/33590269?v=4","gravatar_id":"","url":"https://api.github.com/users/dovela","html_url":"https://github.com/dovela","followers_url":"https://api.github.com/users/dovela/followers","following_url":"https://api.github.com/users/dovela/following{/other_user}","gists_url":"https://api.github.com/users/dovela/gists{/gist_id}","starred_url":"https://api.github.com/users/dovela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dovela/subscriptions","organizations_url":"https://api.github.com/users/dovela/orgs","repos_url":"https://api.github.com/users/dovela/repos","events_url":"https://api.github.com/users/dovela/events{/privacy}","received_events_url":"https://api.github.com/users/dovela/received_events","type":"User","site_admin":false},"repo":{"id":149113407,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkxMTM0MDc=","name":"CloudFlare_DNS_Record","full_name":"dovela/CloudFlare_DNS_Record","private":false,"owner":{"login":"dovela","id":33590269,"node_id":"MDQ6VXNlcjMzNTkwMjY5","avatar_url":"https://avatars3.githubusercontent.com/u/33590269?v=4","gravatar_id":"","url":"https://api.github.com/users/dovela","html_url":"https://github.com/dovela","followers_url":"https://api.github.com/users/dovela/followers","following_url":"https://api.github.com/users/dovela/following{/other_user}","gists_url":"https://api.github.com/users/dovela/gists{/gist_id}","starred_url":"https://api.github.com/users/dovela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dovela/subscriptions","organizations_url":"https://api.github.com/users/dovela/orgs","repos_url":"https://api.github.com/users/dovela/repos","events_url":"https://api.github.com/users/dovela/events{/privacy}","received_events_url":"https://api.github.com/users/dovela/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dovela/CloudFlare_DNS_Record","description":"Script to modify DNS Record via CloudFlare","fork":true,"url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record","forks_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/forks","keys_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/teams","hooks_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/hooks","issue_events_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/issues/events{/number}","events_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/events","assignees_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/assignees{/user}","branches_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/branches{/branch}","tags_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/tags","blobs_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/git/refs{/sha}","trees_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/statuses/{sha}","languages_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/languages","stargazers_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/stargazers","contributors_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/contributors","subscribers_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/subscribers","subscription_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/subscription","commits_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/commits{/sha}","git_commits_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/git/commits{/sha}","comments_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/comments{/number}","issue_comment_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/issues/comments{/number}","contents_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/contents/{+path}","compare_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/merges","archive_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/downloads","issues_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/issues{/number}","pulls_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/pulls{/number}","milestones_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/milestones{/number}","notifications_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/labels{/name}","releases_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/releases{/id}","deployments_url":"https://api.github.com/repos/dovela/CloudFlare_DNS_Record/deployments","created_at":"2018-09-17T11:14:26Z","updated_at":"2018-09-18T06:54:01Z","pushed_at":"2018-09-18T06:53:59Z","git_url":"git://github.com/dovela/CloudFlare_DNS_Record.git","ssh_url":"git@github.com:dovela/CloudFlare_DNS_Record.git","clone_url":"https://github.com/dovela/CloudFlare_DNS_Record.git","svn_url":"https://github.com/dovela/CloudFlare_DNS_Record","homepage":"","size":30,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"Setter"}},"base":{"label":"nanqinlang-script:Setter","ref":"Setter","sha":"ad5ed0de63cf12474c2cb1ccc0b75eb2ee814191","user":{"login":"nanqinlang-script","id":33628252,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNjI4MjUy","avatar_url":"https://avatars3.githubusercontent.com/u/33628252?v=4","gravatar_id":"","url":"https://api.github.com/users/nanqinlang-script","html_url":"https://github.com/nanqinlang-script","followers_url":"https://api.github.com/users/nanqinlang-script/followers","following_url":"https://api.github.com/users/nanqinlang-script/following{/other_user}","gists_url":"https://api.github.com/users/nanqinlang-script/gists{/gist_id}","starred_url":"https://api.github.com/users/nanqinlang-script/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanqinlang-script/subscriptions","organizations_url":"https://api.github.com/users/nanqinlang-script/orgs","repos_url":"https://api.github.com/users/nanqinlang-script/repos","events_url":"https://api.github.com/users/nanqinlang-script/events{/privacy}","received_events_url":"https://api.github.com/users/nanqinlang-script/received_events","type":"Organization","site_admin":false},"repo":{"id":105038965,"node_id":"MDEwOlJlcG9zaXRvcnkxMDUwMzg5NjU=","name":"CloudFlare_DNS_Record","full_name":"nanqinlang-script/CloudFlare_DNS_Record","private":false,"owner":{"login":"nanqinlang-script","id":33628252,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNjI4MjUy","avatar_url":"https://avatars3.githubusercontent.com/u/33628252?v=4","gravatar_id":"","url":"https://api.github.com/users/nanqinlang-script","html_url":"https://github.com/nanqinlang-script","followers_url":"https://api.github.com/users/nanqinlang-script/followers","following_url":"https://api.github.com/users/nanqinlang-script/following{/other_user}","gists_url":"https://api.github.com/users/nanqinlang-script/gists{/gist_id}","starred_url":"https://api.github.com/users/nanqinlang-script/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanqinlang-script/subscriptions","organizations_url":"https://api.github.com/users/nanqinlang-script/orgs","repos_url":"https://api.github.com/users/nanqinlang-script/repos","events_url":"https://api.github.com/users/nanqinlang-script/events{/privacy}","received_events_url":"https://api.github.com/users/nanqinlang-script/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nanqinlang-script/CloudFlare_DNS_Record","description":"Script to modify DNS Record via CloudFlare","fork":false,"url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record","forks_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/forks","keys_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/teams","hooks_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/hooks","issue_events_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/issues/events{/number}","events_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/events","assignees_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/assignees{/user}","branches_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/branches{/branch}","tags_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/tags","blobs_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/git/refs{/sha}","trees_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/statuses/{sha}","languages_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/languages","stargazers_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/stargazers","contributors_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/contributors","subscribers_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/subscribers","subscription_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/subscription","commits_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/commits{/sha}","git_commits_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/git/commits{/sha}","comments_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/comments{/number}","issue_comment_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/issues/comments{/number}","contents_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/contents/{+path}","compare_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/merges","archive_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/downloads","issues_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/issues{/number}","pulls_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/pulls{/number}","milestones_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/milestones{/number}","notifications_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/labels{/name}","releases_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/releases{/id}","deployments_url":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/deployments","created_at":"2017-09-27T15:57:15Z","updated_at":"2018-09-17T11:14:23Z","pushed_at":"2018-09-18T06:54:00Z","git_url":"git://github.com/nanqinlang-script/CloudFlare_DNS_Record.git","ssh_url":"git@github.com:nanqinlang-script/CloudFlare_DNS_Record.git","clone_url":"https://github.com/nanqinlang-script/CloudFlare_DNS_Record.git","svn_url":"https://github.com/nanqinlang-script/CloudFlare_DNS_Record","homepage":"","size":30,"stargazers_count":13,"watchers_count":13,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":8,"open_issues":1,"watchers":13,"default_branch":"Setter"}},"_links":{"self":{"href":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/pulls/3"},"html":{"href":"https://github.com/nanqinlang-script/CloudFlare_DNS_Record/pull/3"},"issue":{"href":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/issues/3"},"comments":{"href":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/nanqinlang-script/CloudFlare_DNS_Record/statuses/604f9bd247f99b74c6ce230b0c86400c40145cfe"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":5,"additions":30,"deletions":17,"changed_files":3}}
{"actor":{"display_login":"dovela"}}