Live data from Hacker News

Getting all your data out of Google Reader

blog.persistent.info

21–30 of 30 posts

Re: Getting all your data out of Google Reader

#21
post #8

Thanks mihaip! Worked successfully in Windows CMD for me, without using the \bin shell script: cd C:\mihaip-readerisdead set PYTHON_HOME=C:\mihaip-readerisdead C:\path-to-py27 reader_archive\reader_archive.py --output-directory C:\mystuff Locked up at 251K out of 253K items for me, though. Restarting... success! Looks like it might have locked up trying to start the "Fetching comments" section on my first try.

Thanks very much!

I know next to nothing about Windows Command and python. Tried to apply your method and "path-to-py27" is not recognised.

Does it mean that i should put the path to the Python 27 program directory? in what form exactly (on my computer, it is at C:\Python27.

Or does it just mean the path to the directory where the app is already?

I tried without C:\path-to-py27, just typing "reader_archive\reader_archive.py --output-directory C:\mystuff" and got the following response: "Traceback (most recent call last:) File "C:\mihaip-readerisdead set PYTHON_HOME=C:\mihaip-readerisdead\reader_archive\reader_archive.py, line 12, in import base.api ImportError: No module named base.api

Any idea?

Re: Getting all your data out of Google Reader

#22
post #8

Thanks mihaip! Worked successfully in Windows CMD for me, without using the \bin shell script: cd C:\mihaip-readerisdead set PYTHON_HOME=C:\mihaip-readerisdead C:\path-to-py27 reader_archive\reader_archive.py --output-directory C:\mystuff Locked up at 251K out of 253K items for me, though. Restarting... success! Looks like it might have locked up trying to start the "Fetching comments" section on my first try.

Nevermind, seems to be working fine now! Just have to wait till it finishes downloading.

Re: Getting all your data out of Google Reader

#23
post #8

Thanks mihaip! Worked successfully in Windows CMD for me, without using the \bin shell script: cd C:\mihaip-readerisdead set PYTHON_HOME=C:\mihaip-readerisdead C:\path-to-py27 reader_archive\reader_archive.py --output-directory C:\mystuff Locked up at 251K out of 253K items for me, though. Restarting... success! Looks like it might have locked up trying to start the "Fetching comments" section on my first try.

Thanks very much! I know next to nothing about Windows Command and python. Tried to apply your method and "path-to-py27" is not recognised. Does it mean that i should put the path to the Python 27 program directory? in what form exactly (on my computer, it is at C:\Python27. Or does it just mean the path to the directory where the app is already? I tried without C:\path-to-py27, just typing "reader_archive\reader_arc…

Copy the folder named 'base' to c:\python27\lib folder. That did the trick for me.

After that, you should be able to just run "reader_archive\reader_archive.py --output-directory C:\mystuff"

Re: Getting all your data out of Google Reader

#24
post #8

Thanks mihaip! Worked successfully in Windows CMD for me, without using the \bin shell script: cd C:\mihaip-readerisdead set PYTHON_HOME=C:\mihaip-readerisdead C:\path-to-py27 reader_archive\reader_archive.py --output-directory C:\mystuff Locked up at 251K out of 253K items for me, though. Restarting... success! Looks like it might have locked up trying to start the "Fetching comments" section on my first try.

Common typo: there are no underscores in PYTHONHOME and PYTHONPATH

(and you should use PYTHONPATH in this case)

http://docs.python.org/2/using/cmdline.html#environment-vari...

Re: Getting all your data out of Google Reader

#25
post #23

Earlier quoted context omitted.

Thanks very much! I know next to nothing about Windows Command and python. Tried to apply your method and "path-to-py27" is not recognised. Does it mean that i should put the path to the Python 27 program directory? in what form exactly (on my computer, it is at C:\Python27. Or does it just mean the path to the directory where the app is already? I tried without C:\path-to-py27, just typing "reader_archive\reader_arc…

Copy the folder named 'base' to c:\python27\lib folder. That did the trick for me. After that, you should be able to just run "reader_archive\reader_archive.py --output-directory C:\mystuff"

Thanks!

Re: Getting all your data out of Google Reader

#26
I'm getting "ImportError: No module named site"

echo %pythonpath% gives c:\readerisdead

I copied 'base' from the readerisdead zipfile to c:\python27\lib & also copied the base folder into the same folder as reader_archive.py

C:\readerisdead\reader_archive\reader_archive.py --output-directory C:\googlereader gives "ImportError: No module named site"

What am I doing wrong? How can I get this to work?

Re: Getting all your data out of Google Reader

#27
This is an impressive bit of work. I have had, though, an interesting thing happen, in that it's apparently trying to pull every single item from explore and from suggested items in, to the extent that I get a message saying I have 13 million items, and still going strong -- it pulled about 5 or 6 gig of data down .

Is there some way to avoid all the years of explore and suggested items with reader archive? I tried limiting the maximum number of items to 10.000 but it was still running and growing after 12 hours. Interesting though, what it was able to accomplish in that time.

Re: Getting all your data out of Google Reader

#28
This is an impressive bit of work. I have had, though, an interesting thing happen, in that it's apparently trying to pull every single item from explore and from suggested items in, to the extent that I get a message saying I have 13 million items, and still going strong -- it pulled about 5 or 6 gig of data down .

Is there some way to avoid all the years of explore and suggested items with reader archive? I tried limiting the maximum number of items to 10.000 but it was still running and growing after 12 hours. Interesting though, what it was able to accomplish in that time.

Re: Getting all your data out of Google Reader

#29
This is an impressive bit of work. I have had, though, an interesting thing happen, in that it's apparently trying to pull every single item from explore and from suggested items in, to the extent that I get a message saying I have 13 million items, and still going strong -- it pulled about 5 or 6 gig of data down .

Is there some way to avoid all the years of explore and suggested items with reader archive? I tried limiting the maximum number of items to 10.000 but it was still running and growing after 12 hours. Interesting though, what it was able to accomplish in that time.

Re: Getting all your data out of Google Reader

#30
This is an impressive bit of work. I have had, though, an interesting thing happen, in that it's apparently trying to pull every single item from explore and from suggested items in, to the extent that I get a message saying I have 13 million items, and still going strong -- it pulled about 5 or 6 gig of data down .

Is there some way to avoid all the years of explore and suggested items with reader archive? I tried limiting the maximum number of items to 10.000 but it was still running and growing after 12 hours. Interesting though, what it was able to accomplish in that time.

Post reply on HN