Saturday, January 29, 2022

Re: Download html pages as pdf using headless Chrome


from request.get("https://---") i am getting instance of requests.models.Response, how can i convert it to pdf

On Sat, Jan 29, 2022 at 9:31 PM Vishesh Mangla <manglavishesh64@gmail.com> wrote:
Get the link and cookies from the webdriver and put that in requests.get using request library to download the html on the page.

On Sat, 29 Jan 2022, 21:29 Vishesh Mangla, <manglavishesh64@gmail.com> wrote:
Use requests for that .

On Sat, 29 Jan 2022, 21:28 Aadil Rashid, <aadil10121998@gmail.com> wrote:
Hello Django Family, I came across the problem of downloading HTML pages as pdf using headless chrome, Can anybody here who could please let me know how can I do it or any good resource to follow, it would be appreciable. I am using Django python,
Thank you very much.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAYXZx-Ar-PeKeOLA27TgTwQoct3e9Y1E%2BAPtWyPQMq78EaTNg%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACaE8x5C2dihUH4iapMvu8aqMZFWFfpF6VRPHA%2BEkF5PhDQDJA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAYXZx-1w-U-LrNM2fG3WzMohXY-PayNCdw53rR2osKM7BNyhw%40mail.gmail.com.

No comments:

Post a Comment