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, <manglavishes...@gmail.com>
wrote:

> Use requests for that .
>
> On Sat, 29 Jan 2022, 21:28 Aadil Rashid, <aadil10121...@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+unsubscr...@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
>> <https://groups.google.com/d/msgid/django-users/CAAYXZx-Ar-PeKeOLA27TgTwQoct3e9Y1E%2BAPtWyPQMq78EaTNg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACaE8x5C2dihUH4iapMvu8aqMZFWFfpF6VRPHA%2BEkF5PhDQDJA%40mail.gmail.com.

Reply via email to