protected-pdf-file-downloader icon indicating copy to clipboard operation
protected-pdf-file-downloader copied to clipboard

Can't get output file when running generate cmd

Open Anshulgada opened this issue 3 years ago • 7 comments

CMD Error Pdf Download

Here I have attached an image of the output I got.

Anshulgada avatar Mar 04 '22 17:03 Anshulgada

Did you find a solution to this?

noorm91 avatar Nov 08 '22 21:11 noorm91

Nope, just stopped trying honestly!

Anshulgada avatar Nov 09 '22 16:11 Anshulgada

Feel you, I'm doing the same, I found a "low quality" way to get the pdfs though. Images are a little blurry, but still ok. Online tool called docdownloader.

noorm91 avatar Nov 09 '22 16:11 noorm91

Does it work with sites which pdfs and all?

Anshulgada avatar Nov 10 '22 13:11 Anshulgada

Have the same problem. Is there a fix?

forota123 avatar Feb 21 '23 16:02 forota123

@forota123 nah I gave up on this and instead just wrote a simple python script to take screenshots for me for every second and in between them make it click the right arrow to go to the next slide. You can always merge the ss to make a pdf. Pretty much usable. I'll attach the code below.

# Basic script to take ss of screen

import os
import time
import pyautogui
import keyboard

screenshot_dir = os.path.join("C:/Users/<username>/Desktop")     # Location of ss to be saved
if not os.path.exists(screenshot_dir):
    os.makedirs(screenshot_dir)

interval_before_loop = 10
interval_between_screenshots = 1
iterations = 12

time.sleep(interval_before_loop)


for i in range(iterations):
    screenshot = pyautogui.screenshot()
    screenshot_path = os.path.join(screenshot_dir, f"Page {i + 1}.png")
    screenshot.save(screenshot_path)
    keyboard.press_and_release('right')
    time.sleep(interval_between_screenshots)

Anshulgada avatar Feb 22 '23 14:02 Anshulgada