4 ms·
Instead of trying to fix the bugs, maybe you should look at what I think would be better tools for accomplishing the job: * PhantomJS[1] (with or without the f
by fiatjaf 12y ago
Instead of trying to fix the bugs, maybe you should look at what I think would be better tools for accomplishing the job:
* PhantomJS[1] (with or without the facilitator CasperJS[2]) -- in fact I'm kinda motivated to write a script myself using CasperJS to save my communities, now that you remembered me they are there waiting to be saved;
* Selenium[3] (I never looked at this, but it seems interesting as it holds the slogan "Browser Automation").
[1]: http://phantomjs.org/ http://phantomjs.org/
[2]: http://casperjs.org/ http://casperjs.org/
[3]: http://www.seleniumhq.org/ http://www.seleniumhq.org/
- anuragbiyani 12y agoThanks for sharing these links! I did take a brief look at Selenium, but due to my lack of familiarity with it and no mention on how to save the full page in html (instead of screenshot) I moved quickly to writing this version using xdotool. I agree this approach is more clunky and perhaps less likely to work across different platforms (than say Selenium/CasperJS), but it finally served the purpose for me (Ubuntu 12.04, GNOME, Chrome) by letting me download a bunch of communities. :) Good luck with your CasperJS approach, and I would love to learn from it if you wish to share the code later.