{"action":"created","issue":{"url":"https://api.github.com/repos/einstein95/crunchy-xml-decoder/issues/75","repository_url":"https://api.github.com/repos/einstein95/crunchy-xml-decoder","labels_url":"https://api.github.com/repos/einstein95/crunchy-xml-decoder/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/einstein95/crunchy-xml-decoder/issues/75/comments","events_url":"https://api.github.com/repos/einstein95/crunchy-xml-decoder/issues/75/events","html_url":"https://github.com/einstein95/crunchy-xml-decoder/issues/75","id":172294005,"number":75,"title":"autocatch link","user":{"login":"rcyclope","id":17126922,"avatar_url":"https://avatars.githubusercontent.com/u/17126922?v=3","gravatar_id":"","url":"https://api.github.com/users/rcyclope","html_url":"https://github.com/rcyclope","followers_url":"https://api.github.com/users/rcyclope/followers","following_url":"https://api.github.com/users/rcyclope/following{/other_user}","gists_url":"https://api.github.com/users/rcyclope/gists{/gist_id}","starred_url":"https://api.github.com/users/rcyclope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcyclope/subscriptions","organizations_url":"https://api.github.com/users/rcyclope/orgs","repos_url":"https://api.github.com/users/rcyclope/repos","events_url":"https://api.github.com/users/rcyclope/events{/privacy}","received_events_url":"https://api.github.com/users/rcyclope/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-20T22:25:11Z","updated_at":"2016-09-26T07:06:30Z","closed_at":null,"body":"add few line in crunchy-xml-decode.py \r\n\r\n```\r\n...\r\nimport re, urllib2\r\n...\r\n#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#(autocatch)#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#\r\ndef autocatch():\r\n    print 'indicate the url : '\r\n    url=raw_input()\r\n    mykey = urllib2.urlopen(url)\r\n    take = open(\"queue_.txt\", \"w\")\r\n\r\n    for text in mykey:\r\n        match = re.search('<a href=\"/(.+?)\" title=', text)\r\n        if match:\r\n            print >> take, 'http://www.crunchyroll.com/'+match.group(1)\r\n\r\n    take.close()\r\n\t\r\n    with open('queue_.txt') as f,  open('queue.txt', 'w') as fout:\r\n        fout.writelines(reversed(f.readlines()))\r\n    os.remove('queue_.txt')\r\n```\r\n\r\n\r\nlike this one \r\n![d0c470e731 1](https://cloud.githubusercontent.com/assets/17126922/17834180/9bd17198-6734-11e6-8a6e-b79f7323d090.png)\r\n\r\n\r\nand add line in menu\r\n296 => autocatch crunchylink :)\r\n\r\nand \r\nline 330 : \r\n\r\n\r\n```\r\n    elif seleccion == 8 :\r\n        autocatch()\r\n        queueu('.\\\\queue.txt')\r\n    elif seleccion == 9 :\r\n        import debug\r\n    elif seleccion == 0 :\r\n        sys.exit()\r\n```"},"comment":{"url":"https://api.github.com/repos/einstein95/crunchy-xml-decoder/issues/comments/249494586","html_url":"https://github.com/einstein95/crunchy-xml-decoder/issues/75#issuecomment-249494586","issue_url":"https://api.github.com/repos/einstein95/crunchy-xml-decoder/issues/75","id":249494586,"user":{"login":"rcyclope","id":17126922,"avatar_url":"https://avatars.githubusercontent.com/u/17126922?v=3","gravatar_id":"","url":"https://api.github.com/users/rcyclope","html_url":"https://github.com/rcyclope","followers_url":"https://api.github.com/users/rcyclope/followers","following_url":"https://api.github.com/users/rcyclope/following{/other_user}","gists_url":"https://api.github.com/users/rcyclope/gists{/gist_id}","starred_url":"https://api.github.com/users/rcyclope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcyclope/subscriptions","organizations_url":"https://api.github.com/users/rcyclope/orgs","repos_url":"https://api.github.com/users/rcyclope/repos","events_url":"https://api.github.com/users/rcyclope/events{/privacy}","received_events_url":"https://api.github.com/users/rcyclope/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T07:06:30Z","updated_at":"2016-09-26T07:06:30Z","body":"I tried to catch a link per season, but it is very difficult to select some link in the html tag, because it's too broad\r\n\r\nif someone has the soluce please answer it "}}
{"actor":{"display_login":"rcyclope"}}