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

How to use Decktape for a website that requires username / password #212

Open
MiguelSL65 opened this issue May 14, 2020 · 7 comments
Open
Labels

Comments

@MiguelSL65
Copy link

Hello there!

I want to convert a presentation (which I dont have the source code) to pdf.

When I write in command line: node decktape automatic http://somewebsite.com/page.html slides.pdf

I get this error: Failed to load resource: the server responded with a status of 401 (Unauthorized)
Loading page finished with status: 401
No supported DeckTape plugin detected, falling back to generic plugin
Generic plugin activated

I think this is happening because to access the website's slides I need a username and password (Which I have!).

Can anybody throw some help?

Cheers.

@MiguelSL65
Copy link
Author

The pdf is genarated, but with the same error message (401 unauthorized).

@astefanutti
Copy link
Owner

This is not supported currently. That being said, I think it should be quite straightforward to implement:

I'd be happy to integrate that enhancement into Decktape.

@MiguelSL65
Copy link
Author

@astefanutti Nice to hear that!

I will be waiting for that feature.

Is it possible to get some kind of notification when its complete?

Thanks :)

@astefanutti
Copy link
Owner

@MiguelSL65

Is it possible to get some kind of notification when its complete?

You can subscribe to the issue.

Also we welcome PRs :)

@MiguelSL65
Copy link
Author

@astefanutti How is this progressing?

Unfortunately I dont have knowledge in CLI programming. So there's no PR for me :(

@astefanutti
Copy link
Owner

@MiguelSL65 we'll work on it ASAP. You can subscribe to the issue so that you'll get notify as soon as we progress on this.

@chnchg
Copy link

chnchg commented Oct 17, 2023

It seems that adding username and password to URL, for example,

https://username:[email protected]/page.html

works for HTTP basic authentication.

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

No branches or pull requests

3 participants