Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 04 2015 17:25
    @csu moved csu/pyquora#56 from Backlog to Ready
  • Jan 04 2015 17:25
    @csu moved csu/pyquora#55 from Backlog to Ready
  • Jan 04 2015 17:25
    @csu moved csu/pyquora#53 from Backlog to Ready
  • Jan 04 2015 17:25
    @csu moved csu/pyquora#27 from Backlog to Ready
  • Jan 04 2015 17:25
    @csu moved csu/pyquora#26 from Backlog to Ready
  • Jan 04 2015 17:25
    @csu moved csu/pyquora#57 from Backlog to Working
Erwan
@aaronwinter
Travis has this nice badge that you can put on the README.md and does everything automatically but unittest would do the job as well I guess
Christopher Su
@csu
I mean what should we write our test cases in?
Added the badge
Erwan
@aaronwinter
I am reading the doc atm, not too sure if there is a special format that you can give to Travis or if we use unittest that Travis will automatically execute whenever there is a new pull request.
Christopher Su
@csu
I've set it up already
Essentially, you have a travis.yml file that specifies things like setup before running tests and how to run the tests themselves
You can then have the tests be essentially anything that you could run in a virtual environment
So Makefiles work, tests written in unittest/nose/etc. all work
And on every build, Travis will just run the commands necessary
I'm deciding between unittest and nose now
Erwan
@aaronwinter
Oh I see
Right now, it just runs tests/test_all.py which just does nothing
Alright, going with nose2
Actually, scratch that. Using nose
Erwan
@aaronwinter
Ok, I am going to bed now. Ttyl!
Christopher Su
@csu
Alright
Erwan
@aaronwinter
We need style guidelines recent commits have made pyquora.py very heterogenous
Erwan
@aaronwinter
Variable/Function names, comments, methods' contracts and signatures etc...
Christopher Su
@csu
Yeah, we have a lot of refactoring to do
It's starting to get really difficult to read
Christopher Su
@csu
Made a Kanban board: https://huboard.com/csu/pyquora/
Saikat Kumar Dey
@saikatkumardey
Hi
I am just checking out pyquora and I think it's a cool initiative by you guys. :smile:
I think that it would be great if the Usage instructions on the README file could be updated.
Since, we don't have new keyword in python. I am referring to this line => " quora = new Quora() "
Thanks. :smile:
@csu
Saikat Kumar Dey
@saikatkumardey
@aaronwinter
Erwan
@aaronwinter
@csu have corrected it, thanks @arkro !
Christopher Su
@csu
hey guys! I'm back from holiday, so I'm back to being active again
I just cleaned up some of the duplicate/wontfix issues and also fixed a bunch of problems with #46 (in #52)
The new API with properties is looking pretty good. I added alias methods for legacy support.
Christopher Su
@csu
Also, checkout this Kanban board: https://huboard.com/csu/pyquora/
We can keep track of who is working on what with it
Nik0l
@Nik0l
hi guys! great job done! I was wondering how to get all answers for a particular question, any ideas? something like Quora.question['all_answers']
Rohith PR
@rohithpr
Thanks to infinite scroll on Quora this hasn't been done so far.
You could use Quora.get_latest_answers('what-is-python') and Quora.get_top_answers() (oh wait, this hasn't been done yet!) Someone should do it.
Christopher Su
@csu
We don't do it and I don't think we should because a past API did include answers, and they got a cease and desist from Quora for including answer content
We haven't gotten one yet, and I suspect not including answer content is one of the reasons why
Rohith PR
@rohithpr
Ohk..
Nik0l
@Nik0l
well, I guess it is still possible to provide metadata on the answers without their content. For example, timestamps, upvotes, authors etc...?
Christopher Su
@csu
Multiple quora changes broke pyquora again :(
including scraper detection/blocking
we might want/need to switch to PhantomJS or Selenium or something similar that emulates/drives a web browser, so the scraper can't be detected
harshvardhan145
@harshvardhan145
Hi...I would like to contribute..please get me started
Erwan
@aaronwinter
@csu have you explored the headless browser route? I haven't look much into the breaking changes Quora has made, but if you think they are significant enough then we might as well roll out a complete new version of pyquora. In any case, I would be down to organize a bugfix sprint - it could also help the wannabe contributors to get onboard.
Aidis Stukas
@aidiss
Hey, is it only Python 2?
It install fine with python 3 but then it drops and ImportError:
----> 8 from user import User, Activity
ImportError: No module named 'user'
chenli
@FirstLoveLife
Hello, guys. I have one question about quora. Every time I open quora, the cursor is always on search bar. I am a cvim user, so <kbd>j</kbd> <kbd>k</kbd> is often be used on chrome. Every time I type the two in quora, they will be typed into search bar rather than to move up or down. So, how can i let the cursor not on search bar by default?