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

Add disqus support #83

Open
jayvdb opened this issue Mar 20, 2018 · 5 comments
Open

Add disqus support #83

jayvdb opened this issue Mar 20, 2018 · 5 comments
Assignees
Labels
help wanted New Website Requests for supporting a new website

Comments

@jayvdb
Copy link
Collaborator

jayvdb commented Mar 20, 2018

Lots of people have claimed a disqus username which is otherwise used by a developer, because developers often do not use disqus.

@jayvdb jayvdb added the New Website Requests for supporting a new website label Mar 20, 2018
@seeeturtle seeeturtle self-assigned this Mar 24, 2018
seeeturtle added a commit to seeeturtle/username-availability-checker that referenced this issue Mar 25, 2018
This will add support for disqus.

Closes manu-chroma#83
seeeturtle added a commit to seeeturtle/username-availability-checker that referenced this issue Mar 28, 2018
This will add support for disqus.

Closes manu-chroma#83
@seeeturtle
Copy link
Collaborator

Since disqus doesn't work well with requests,
support for disqus is closed until the solution is found.

@jayvdb
Copy link
Collaborator Author

jayvdb commented Apr 15, 2018

Still needed. Can be labeled stale, and help-wanted, etc, to bring in new contributors with new ideas on how to solve complex problems.

@jayvdb jayvdb reopened this Apr 15, 2018
@seeeturtle
Copy link
Collaborator

ok, labeling stale makes sense

@abhishekmadhu
Copy link

Hello Sirs,

tl;dr : NEED HELP sending POST requests to Disqus API

I have been interested in this project for some time.
I looked into the Disqus API Documentation and couldn't find anything useful.

What I found to be noteworthy is:

  • We need to send a POST request to their API with an API key.

Now, Sirs, I'm new to this domain, and I really want to contribute something to this project as it seems interesting. Can anyone please guide me on how to proceed, as I am finding it hard to understand how to do the same mentioned above? That would be really valuable to me.

Thanks. :)

@seeeturtle
Copy link
Collaborator

seeeturtle commented May 3, 2018

Hello @abhishekmadhu.
The problem was that disqus refuses requests from requests
you can simply know that with the code below:

import requests
import username_api

res = requests.get(username_api.get_profile_url('disqus', 'username that exists'))
res.text # it will return error page

So I tried to modify user-agent as one of the support browsers but didn't work.

By the way, thank you for your attention to our project :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted New Website Requests for supporting a new website
Projects
None yet
Development

No branches or pull requests

3 participants