[Python] Download from slideshare with python

Discussão em 'Python' iniciado por Stack, Outubro 25, 2024.

  1. Stack

    Stack Membro Participativo

    im trying to download the powerpoints from SlideShare, using the code that follows:

    import requests

    url = 'https://es.slideshare.net/accenture/accenture-tech-vision-2020-trend-1?from_action=save'
    myfile = requests.get(url, allow_redirects=True)
    print(myfile.content)
    open('presentation.pdf', 'wb').write(myfile.content)


    The fact is that I got to identificate myself and then press a button on that link that downloads the presentation, but the code is not working, why I'm failing?

    Continue reading...

Compartilhe esta Página