-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Parse pasted URL for ID #1
Comments
Apologies for late reply, I suppose it might be possible, it would require grabbing the if you are not familiar with at I sudgest looking at this tutorial on scraping http://ruby.bastardsbook.com/chapters/html-parsing/ if you want to try it out and do a pull request that could be an interesting feature to add. also you might find this tutorial interesting/usefull http://pietropassarelli.com/issuu.html ps: if you just want to get the issu magazine as pdf and not to bothered about the code or the implementation you can always use http://issuu-downloader.abuouday.com/ haven't tried it myself as wasn't a round at the time when I did this script but might be a good solution. |
Hi Pietro I ended up writing my own script to do this in bash, I just grabbed the Thanks for the good idea though, it really got me started. Dan Dan Mobile: 07880-903-889 On 19 January 2016 at 13:39, Pietro [email protected] wrote:
|
Nice one, glad it all worked out! is there a link to your script somewhere? I'd be curious to see how you implemented it in bash |
Sure, see attached. I should point a couple of things:
Dan Mobile: 07880-903-889 On 19 January 2016 at 14:23, Pietro [email protected] wrote:
|
That's great Thanks Dan, |
Oh it was definitely there, maybe github strips it. Copy and paste.#!/bin/bash if [[ $# -eq 0 ]] ; then #Grab the magazine HTML page and save it to a file #Extract the unique docuement ID from the HTML file #Extract the document name #Extract the page count pagenumber=1 #Start downloading at page 1 mkdir "$docuentNAME" while [ $pagenumber != $pagecount ]; do zip -q0 "$docuentNAME".cbz *.jpg Dan Mobile: 07880-903-889 On 19 January 2016 at 14:46, Pietro [email protected] wrote:
|
cool, thanks |
See here for ruby code how to parse the URL and query the Issuu API for pagecount: pviotti/issuu-pdf-dl#5 |
I was wondering if it would be possible to paste magazine URL and have the ID extracted from.
The text was updated successfully, but these errors were encountered: