Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pase Error when Unicode in Response #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ngalongc
Copy link

In some cases, there will be unicode error in torando, adding this data = unicode(data,errors='ignore') to fix the unicode error

ARNING:tornado.access:404 GET /favicon.ico (219.76.18.73) 2.45ms
Discovered 1 links in https://d1a3f4spazzrp4.cloudfront.net/merchpbx/3.53.1/d1a3f4spazzrp4.cloudfront.net/javascripts/merchant-ca435532f9.js
ERROR:tornado.application:Uncaught exception GET /parse/ajax?url=https://d1a3f4spazzrp4.cloudfront.net/merchpbx/3.53.1/d1a3f4spazzrp4.cloudfront.net/javascripts/merchant-ca435532f9.js (219.76.18.73)
HTTPServerRequest(protocol='http', host='example.com:8008', method='GET', uri='/parse/ajax?url=https://d1a3f4spazzrp4.cloudfront.net/merchpbx/3.53.1/d1a3f4spazzrp4.cloudfront.net/javascripts/merchant-ca435532f9.js', version='HTTP/1.1', remote_ip='219.76.18.73', headers={'Accept-Language': 'en-US,en;q=0.8,zh-CN;q=0.6,zh;q=0.4,zh-TW;q=0.2', 'Accept-Encoding': 'gzip, deflate', 'X-Requested-With': 'XMLHttpRequest', 'Host': 'cloud.example.com:8008', 'Accept': 'application/json, text/javascript, */*; q=0.01', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36', 'Connection': 'keep-alive', 'Referer': 'http://cloud.example.com:8008/', 'Cookie': '_ga=GA1.2.628903757.1486822870'})

@ItsIgnacioPortal
Copy link

@nahamsec do you have any intention of maintining this repo / merging the pull requests? Otherwise, I'll happily make a JSParser-Reborn (or something like that) and take care of it myself. It hurts to see so much effort just waiting for aproval.

@nahamsec
Copy link
Owner

nahamsec commented Mar 1, 2021

Hey @PinkDev1, can you send me an email? I'd love to get some help to get this repo updated and maintained. Would love to give you access to it and give you credit for it as a contributor, if you are up for it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants