A simple powershell script that downloads all the PDF pages from a given google drive view. This was meant for personal use so the features are very limited for now. In future, I might automate the script completely and not just limit only to Windows.
Suppose there's a read-only, download restricted PDF file. The following are the steps for a Firefox user. I assume these steps are similar for Chrome and other browsers too.
-
Right click and select "Inspect Element".
-
Navigate to "Network" tab.
-
On the 'filter' bar, type in "img?". If you don't find any results, simply refresh the page by pressing F5 button. Once the page starts loading, scroll downwards until you get atleast one file name having the substring "img?".
-
Open the powershell script and paste the link.
-
Mention the number of pages you want to download. In this case, there's 5 pages so I enter 5.
-
Type in the destination where the downloaded images should be stored at.
v1.0.0 - 5th of January, 2019
- Initial release.
Licensed under MIT.