Git Product home page Git Product logo

orkut-community-downloader's People

Stargazers

Rafael Paes Leme avatar Anushree Chorghade avatar Chirag Gude avatar  avatar Victor Roemer avatar Cleber Santos avatar  avatar

Watchers

Anurag Biyani avatar  avatar

Forkers

guieco

orkut-community-downloader's Issues

Minor updates

Anurag, thanks a ton for making this tool. You surely saved me a few hours of work!

To run your script, the commands in your readme did not work. For example, the option should be --dest-dir not --dest_dir

Here is the command that worked for me:

sudo python orkut_community_downloader.py --community-id 125 --dest-dir ./math_orkut_community

After that, it was pure auto-magic bliss!

Not working

root/.local/share/Trash/files/orkut-community-downloader/math_orkut_community/all_listings'
- next_pattern= '<a
href="((http://www.orkut.com/Main)?#Comm\w+\?+cmm=826350[^"]+)"[^>]*
class="MRC">[^<]+(&|&)gt;'
- prev_pattern = '<a
href="((http://www.orkut.com/Main)?#Comm\w+\?+cmm=826350[^"]+)"[^>]*
class="MRC">(&|&)lt;[^<]+'
INFO: '/root/.local/share/Trash/files/orkut-community-downloader/math_orkut_community/all_listings'
is a directory, will save file inside it with the default name.
search: unrecognized option '--sync'
Invalid usage
Usage: xdotool search [options] regexp_pattern
--class check regexp_pattern agains the window class
--classname check regexp_pattern agains the window classname
--maxdepth N set search depth to N. Default is infinite.
-1 also means infinite.
--onlyvisible matches only windows currently visible
--pid PID only show windows belonging to specific process
Not supported by all X11 applications
--screen N only search a specific screen. Default is all screens
--name check regexp_pattern agains the window name
--title DEPRECATED. Same as --name.
--all Require all conditions match a window. Default is --any
--any Windows matching any condition will be reported
-h, --help show this help output

If none of --name, --classname, or --class are specified, the
defaults are: --name --classname --class
- Downloading from url
'http://www.orkut.com/Main#CommTopics?cmm=826350' ...Traceback (most
recent call last):
File "./orkut_community_downloader.py", line 269, in
main()
File "./orkut_community_downloader.py", line 243, in main
recursive_download(ORKUT_MAIN_URL +
"#CommTopics?cmm={}".format(cmm), LISTING_DIR, cmm) # Download all
forum listings
File "./orkut_community_downloader.py", line 97, in recursive_download
dl(url, directory, append_str)
File "./orkut_community_downloader.py", line 71, in dl
subprocess.check_call(["./automate-save-page-as/save_page_as",
url, "--destination", directory, "--suffix", suffix,
"--load-wait-time", str(dl.load_wait_time), "--save-wait-time",
str(dl.save_wait_time)])
File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command
'['./automate-save-page-as/save_page_as',
'http://www.orkut.com/Main#CommTopics?cmm=826350', '--destination',
'/root/.local/share/Trash/files/orkut-community-downloader/math_orkut_community/all_listings',
'--suffix', '-0000', '--load-wait-time', '8', '--save-wait-time',
'8']' returned non-zero exit status 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.