Skip to content
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

Issue in downloading the PDF's #33

Open
Akhil-VSSG opened this issue Jan 31, 2024 · 3 comments
Open

Issue in downloading the PDF's #33

Akhil-VSSG opened this issue Jan 31, 2024 · 3 comments

Comments

@Akhil-VSSG
Copy link

Akhil-VSSG commented Jan 31, 2024

i tired to run the command pib_min 2023-01-01 2023-01-31 31 and i got the logs as

downloading /home/users/akhilvssg/pib/2023/Jan/31/Ministry_of_Health_and_Family_Welfare/Union_Minister_of_Health__Family_Welfare_Dr_Mansukh_Mandaviya_unveils_FSSAIs_Calendar__1895167.pdf ....

but when i had seen the folder there are no pdf downloaded its empty
Screenshot 2024-01-31 at 4 52 39 PM

i had followed the method mentioned in the readme file but iam not able to get the pdfs nor information for the specific data.
Please look into this issue and resolve as early as possible
Thank you

@nit-in
Copy link
Owner

nit-in commented Jan 31, 2024

you might be having an issue with creating pdf from html page

you need to install wkhtmltopdf
use the package manager according to your os to install it
for example, if you use ubuntu

sudo apt install wkhtmltopdf

let me know if this works

@Akhil-VSSG
Copy link
Author

i dont have sudo access , as iam working on a virtual machine and many people use that , so i did pip install and still it did not work, can you please give me any other way and help me solve this issue

@nit-in
Copy link
Owner

nit-in commented Feb 2, 2024

in that case I suggest you to use github actions.
Fork the repo and follow the instructions for creating secrets and using workflow to generate pdfs and download them from your releases section

Fork the repo and follow the instructions from following link
https://github.com/nit-in/pib#read-this-if-you-are-forking-the-repo
and then use actions
IMG_20240202_140813

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants