{"id":34870607,"url":"https://github.com/interstar/grabquora","last_synced_at":"2025-12-25T23:17:02.154Z","repository":{"id":9652911,"uuid":"11589481","full_name":"interstar/grabquora","owner":"interstar","description":"Grabs a feed of answers from a Quora user and backs them up on local machine. Note that this project is deprecated and replaced by https://github.com/interstar/rss_backup ","archived":false,"fork":false,"pushed_at":"2013-08-05T01:52:05.000Z","size":67,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-04-18T11:16:35.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/interstar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-22T18:53:09.000Z","updated_at":"2023-04-08T11:11:02.000Z","dependencies_parsed_at":"2022-08-30T14:51:29.151Z","dependency_job_id":null,"html_url":"https://github.com/interstar/grabquora","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/interstar/grabquora","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interstar%2Fgrabquora","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interstar%2Fgrabquora/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interstar%2Fgrabquora/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interstar%2Fgrabquora/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interstar","download_url":"https://codeload.github.com/interstar/grabquora/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interstar%2Fgrabquora/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28040301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-25T23:17:01.537Z","updated_at":"2025-12-25T23:17:02.142Z","avatar_url":"https://github.com/interstar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Quora Grabber\n=============\n\n***Update : This is the last version of the GrabQuora script. I'm now working on the more general \n[RSS Backup](https://github.com/interstar/rss_backup) which will help you back-up from any site \nproviding an RSS feed. (Including Quora)***\n\nGrabs a feed of answers from a Quora user and backs them up on local machine.\n\nCurrently stores each answer in a separate text file whose name is a hash of the question and which contains a \njson structure of {\"question\":QUESTION,\"answer\":ANSWER,\"link\":LINK TO ORIGINAL ANSWER}\n\nIt strips out most of the HTML (which will break links and embedded YouTube videos.) On the plus side, this means \nthat the text is more suitable for converting to other formats.\n\nPre-requisites\n--------------\nThese scripts use several Python libraries that can be installed using easy_install.\n\nBefore trying to run the script make sure you have feedparser and beautiful-soup.\n\n    easy_install feedparser\n    easy_install beautifulsoup4\n    \n\n\nHow to Use\n----------\n\neg. to grab the feed of Quora user Phil-Jones\n\n    python grabquora.py Phil-Jones \n\nTo format the answers in your current directory into an HTML page for MY NAME :\n\n    python list.py \"MY NAME\" \u003e list.html\n    \nThen look at list.html in your browser.\n\nFAQ\n---\nQ : Why do the files have such weird names?\n\nA : The file names are based on the questions. I wanted to make the file names shorter than the full question,\nbut also unique.\n\nIf you just tried to truncate a question like \"Which do people who program in Python like best : Zope or Django?\" to \nmake the filename you'd get something like \"whichdopeoplewhoprogaminpytho.txt\" And next year, when you answer \n\"Which do people who program in Python like best : Strawberry or Vanilla?\" you'd overwrite the earlier question.\n\nA \"hashing\" function takes a piece of text and is *almost* certain to come up with a unique code-number based on it, so \nI'm using a hashing function to generate a filename from the question which is short(ish), but almost certainly unique.\n\nQ : I looked inside the file and its weird.\n\nA : I'm storing answers in JSON format. A very simple data-structure that most pramming languages can handle very \neasily. (More easily than XML in most cases.) \n\nThis gives other people the chance to write scripts to render those answers in different human readable formats. The \nlist.py program included here puts them into a single HTML page. But there'll be other options. Talk to me if you'd \nlike to request one.\n\nQ : Why do this?\n\nA : See the discussion here :  http://www.quora.com/Quora-product/How-much-would-you-pay-for-a-program-that-downloaded-all-your-Quora-questions-and-answers/ \n\n    \n    \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterstar%2Fgrabquora","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finterstar%2Fgrabquora","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterstar%2Fgrabquora/lists"}