{"action":"created","issue":{"url":"https://api.github.com/repos/soimort/you-get/issues/1240","repository_url":"https://api.github.com/repos/soimort/you-get","labels_url":"https://api.github.com/repos/soimort/you-get/issues/1240/labels{/name}","comments_url":"https://api.github.com/repos/soimort/you-get/issues/1240/comments","events_url":"https://api.github.com/repos/soimort/you-get/issues/1240/events","html_url":"https://github.com/soimort/you-get/issues/1240","id":163154764,"number":1240,"title":"MGTV GRAB MP4 METHOD","user":{"login":"lamlam123tld3","id":14777502,"avatar_url":"https://avatars.githubusercontent.com/u/14777502?v=3","gravatar_id":"","url":"https://api.github.com/users/lamlam123tld3","html_url":"https://github.com/lamlam123tld3","followers_url":"https://api.github.com/users/lamlam123tld3/followers","following_url":"https://api.github.com/users/lamlam123tld3/following{/other_user}","gists_url":"https://api.github.com/users/lamlam123tld3/gists{/gist_id}","starred_url":"https://api.github.com/users/lamlam123tld3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamlam123tld3/subscriptions","organizations_url":"https://api.github.com/users/lamlam123tld3/orgs","repos_url":"https://api.github.com/users/lamlam123tld3/repos","events_url":"https://api.github.com/users/lamlam123tld3/events{/privacy}","received_events_url":"https://api.github.com/users/lamlam123tld3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/soimort/you-get/labels/patches%20welcome","name":"patches welcome","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"cnbeining","id":1560962,"avatar_url":"https://avatars.githubusercontent.com/u/1560962?v=3","gravatar_id":"","url":"https://api.github.com/users/cnbeining","html_url":"https://github.com/cnbeining","followers_url":"https://api.github.com/users/cnbeining/followers","following_url":"https://api.github.com/users/cnbeining/following{/other_user}","gists_url":"https://api.github.com/users/cnbeining/gists{/gist_id}","starred_url":"https://api.github.com/users/cnbeining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnbeining/subscriptions","organizations_url":"https://api.github.com/users/cnbeining/orgs","repos_url":"https://api.github.com/users/cnbeining/repos","events_url":"https://api.github.com/users/cnbeining/events{/privacy}","received_events_url":"https://api.github.com/users/cnbeining/received_events","type":"User","site_admin":false},"assignees":[{"login":"cnbeining","id":1560962,"avatar_url":"https://avatars.githubusercontent.com/u/1560962?v=3","gravatar_id":"","url":"https://api.github.com/users/cnbeining","html_url":"https://github.com/cnbeining","followers_url":"https://api.github.com/users/cnbeining/followers","following_url":"https://api.github.com/users/cnbeining/following{/other_user}","gists_url":"https://api.github.com/users/cnbeining/gists{/gist_id}","starred_url":"https://api.github.com/users/cnbeining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnbeining/subscriptions","organizations_url":"https://api.github.com/users/cnbeining/orgs","repos_url":"https://api.github.com/users/cnbeining/repos","events_url":"https://api.github.com/users/cnbeining/events{/privacy}","received_events_url":"https://api.github.com/users/cnbeining/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-06-30T12:36:21Z","updated_at":"2016-08-06T17:20:02Z","closed_at":null,"body":"Found it through mobile api\r\n\r\n$link = \"http://v.api.mgtv.com/player/video?video_id=\".$vid;\r\n$json = json_decode(curl($link),true);\r\n$stream = $json['data']['stream'][sizeof($json['data']['stream'])-1];\r\n$x = parse_url($stream['url']);\r\n$file = pathinfo($x['path'])['dirname'];\r\nparse_str($x['query'],$y);\r\n$fid = $y['fid'];\r\n$link = \"http://disp.titan.mgtv.com/vod.do?pno=1031&fid=$fid&file=$file\";\r\n$json = json_decode(curl($dwllink),true);\r\n$mp4dwllink = $json['info'];"},"comment":{"url":"https://api.github.com/repos/soimort/you-get/issues/comments/238034623","html_url":"https://github.com/soimort/you-get/issues/1240#issuecomment-238034623","issue_url":"https://api.github.com/repos/soimort/you-get/issues/1240","id":238034623,"user":{"login":"lamlam123tld3","id":14777502,"avatar_url":"https://avatars.githubusercontent.com/u/14777502?v=3","gravatar_id":"","url":"https://api.github.com/users/lamlam123tld3","html_url":"https://github.com/lamlam123tld3","followers_url":"https://api.github.com/users/lamlam123tld3/followers","following_url":"https://api.github.com/users/lamlam123tld3/following{/other_user}","gists_url":"https://api.github.com/users/lamlam123tld3/gists{/gist_id}","starred_url":"https://api.github.com/users/lamlam123tld3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamlam123tld3/subscriptions","organizations_url":"https://api.github.com/users/lamlam123tld3/orgs","repos_url":"https://api.github.com/users/lamlam123tld3/repos","events_url":"https://api.github.com/users/lamlam123tld3/events{/privacy}","received_events_url":"https://api.github.com/users/lamlam123tld3/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T17:20:02Z","updated_at":"2016-08-06T17:20:02Z","body":"api change again\r\n_mp4 need to be change to .mp4\r\n$file = str_replace('_mp4','.mp4',pathinfo($x['path'])['dirname']);"}}
{"actor":{"display_login":"lamlam123tld3"}}