Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
Like Tree1Likes
  • 1 Post By Wired

Thread: help with an embedded javascript pdf

  1. #1
    Junior Member
    Join Date
    Aug 2020
    Posts
    3
    Member #
    61929

    help with an embedded javascript pdf

    Ok so I am in need of some help. I paid $$$ to subscribe to a website for my exams , which has PDF related to various topics that might be tested for the exam .. these PDF are not copyright materials as the website owner has just compiled these PDF's for students. Almost all of these PDF can be searched on the various website that people from my profession commonly subscribe to and so they have access to these PDF. But it is a long and tedious process searching each of the website and collating all the PDF.

    What this guy has done is that after passing his exam, he has put up all the PDF he used for studying and organised them into subjects/topics.

    He has built a website where I can read all the PDF but cannot download or print anything.

    So now as a paid subscriber to this website, I feel I should be able to print the PDFs as I find it extremely difficult to go through extensive number of pages on the screen and want to have hard copies but I am not able to do that because of the way this website is coded.

    I believe he is using a java script flowpaper to make the pdf viewable.

    So basically what I am asking is some way of downloading or printing these files.

    I have tried a few ways:

    1- used IDM for downlaod but unsuccessful

    2- found a way to inspect elements and then search for hidden 'download' button on the code and then changing that to 'inline' -- this one does work on 1 or 2 pages and I have been able to download , but the trouble is that I am only able to download 1 page at a time for a 128 page document for example.

    3- used a chrome extension 'save all resources' which bundles all network queries (including sometimes a few pages of the pdf) in a zip file but the problem with this is that isn't reliable , I was able to make it work for again just 1 or two topics.

    So kindly help me out here please. I need a fail-safe way to download the whole pdf.

  2.  

  3. #2
    Senior Member sarahswansea's Avatar
    Join Date
    Oct 2015
    Location
    Swansea, UK
    Posts
    172
    Member #
    52184
    Liked
    67 times
    I *might* have a solution. It depends on if the text is baked in or not

    You can see one of the samples on flowpaper, it's easy to just change the last number to get pages

    https://flowpaper.com/zine/samples/n..._07.pdf_12.jpg
    https://flowpaper.com/zine/samples/n..._07.pdf_13.jpg
    _14.jpg, _15.jpg, etc.

    But unfortunately the text is rendered separately.

    It might work for you if the text is scanned and if the numbering scheme is predictable.

    I found the URLs by going Ctrl + Shift + i in Chrome and then going to the network tab.
    Tawesoft <-- hire me here if you need a Go or Python webdev

  4. #3
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,663
    Member #
    1234
    Liked
    141 times
    Use those same links, but remove the _**.jpg. It goes right to the full PDF.
    sarahswansea likes this.

  5. #4
    Junior Member
    Join Date
    Aug 2020
    Posts
    3
    Member #
    61929
    Quote Originally Posted by sarahswansea View Post
    I *might* have a solution. It depends on if the text is baked in or not

    You can see one of the samples on flowpaper, it's easy to just change the last number to get pages

    https://flowpaper.com/zine/samples/n..._07.pdf_12.jpg
    https://flowpaper.com/zine/samples/n..._07.pdf_13.jpg
    _14.jpg, _15.jpg, etc.

    But unfortunately the text is rendered separately.

    It might work for you if the text is scanned and if the numbering scheme is predictable.

    I found the URLs by going Ctrl + Shift + i in Chrome and then going to the network tab.


    I think the text is rendered separately as only the background was saved and no text visible

  6. #5
    Junior Member
    Join Date
    Aug 2020
    Posts
    3
    Member #
    61929
    I tried your way but got the following error :


    Not Found
    The requested URL /pdf_files/KFP1sts/docs/-KFP-First-Intro-A-Extract.pdf was not found on this server.

  7. #6
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,663
    Member #
    1234
    Liked
    141 times
    Worked with the sample.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:29 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com