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

[BUG REPORT]: Query String on Local File Not Working #1

Closed
i-vone opened this issue Aug 10, 2021 · 3 comments
Closed

[BUG REPORT]: Query String on Local File Not Working #1

i-vone opened this issue Aug 10, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@i-vone
Copy link

i-vone commented Aug 10, 2021

Your System?

Windows 10

Version

3.8

Version

latest

What happened?

When I try to take a screenshot of a local file whilst providing a URL query string, it does not work. My assumption is that it tried to look for a file which contains the query string in the filename.

Paste Your Codes.

shot.create_pic(html=r"folder\file.html?username=hi", css=r"folder\tweet.css", output="output.jpg")

Your Error Logs.

It does not output an error
@i-vone i-vone added the bug Something isn't working label Aug 10, 2021
@1Danish-00
Copy link
Owner

1Danish-00 commented Aug 10, 2021

Your System?

Windows 10

Version

3.8

Version

latest

What happened?

When I try to take a screenshot of a local file whilst providing a URL query string, it does not work. My assumption is that it tried to look for a file which contains the query string in the filename.

Paste Your Codes.

shot.create_pic(html=r"folder\file.html?username=hi", css=r"folder\tweet.css", output="output.jpg")

Your Error Logs.

It does not output an error

Have u installed wkhtmltopdf for windows?

And set path Configuration?

And you have to put exact file path or html string for it to work.

and its not giving error log 🤔, that's an issue i'll check it.

@1Danish-00 1Danish-00 removed their assignment Aug 10, 2021
@i-vone
Copy link
Author

i-vone commented Aug 14, 2021

Yes, I have. It works on local files (and also online webpages) when I don't provide a query string...

@1Danish-00
Copy link
Owner

Yes, I have. It works on local files (and also online webpages) when I don't provide a query string...

well then yes , it won't work on query string 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants