Download protected Pdf

113,983

I am assuming you have permission and are not breaking any laws.

The link you want is

http://krishikosh.egranth.ac.in/bitstream/1/20399/1/24441.pdf 

However, you should not access it if you don't have permission.

The way to locate this is to use a browser with dev tools (most do). In this case, in Chrome press F12

Then in the Elements tab you can locate the link URL by expanding the HTML elements until you find the relevant section.

Update

Another way is to disable the PDF viewer in the browser (this is unlikely to work for the website in your question but may work for other websites). This means that when the PDF is requested, the browser has no tool/method to open the file, and as such will provide it as a download.

Share:
113,983

Related videos on Youtube

Gennaro Arguzzi
Author by

Gennaro Arguzzi

I am an engineering student.

Updated on September 18, 2022

Comments

  • Gennaro Arguzzi
    Gennaro Arguzzi over 1 year

    How could I download a protected Pdf (view allowed, download not)? The link of the Pdf file is the following:

    http://krishikosh.egranth.ac.in/handle/1/20399

  • Gennaro Arguzzi
    Gennaro Arguzzi over 7 years
    Hi @Dave, in the section Elements, where did you find the link krishikosh.egranth.ac.in/bitstream/1/20399/1/24441.pdf? I opened all subsections in the Elements section, but I don't see that.
  • Dave
    Dave over 7 years
    It is in there @GennaroArguzzi :)
  • fixer1234
    fixer1234 over 7 years
    Disabling the browser's PDF viewer is clever. But in this case, the viewer is something built into the web site rather than the local viewer.
  • Dave
    Dave over 7 years
    @fixer1234 I will make this clearer. Thanks
  • Joseph
    Joseph about 3 years
    How is Git relevant to this answer?
  • Tech One
    Tech One about 3 years
    @Joseph, Thanks for pointing that out. Have edited my answer on what is to be done in git. Git is used to run the download command script.
  • Joseph
    Joseph about 3 years
    Hi, I think there is a misunderstanding here. Git is in no way needed to run a command like curl — they are separate software. On Windows, one can simply launch cmd to run these commands, and on a Mac, one would launch Terminal. Git is not needed to run commands.