A Python module for fetching and parsing data from Quora.
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
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?