Skip to content

code exampleΒ #81

@ghost

Description

Hello

I'm an autistic girl trying to download all files on a webpage. It are zip files.
I found code here I want to use:

https://stackoverflow.com/questions/5974595/download-all-the-linksrelated-documents-on-a-webpage-using-python

Can this code be used to download all zip files from following page? (At the left click on 'models' to see the page)

https://www.mameworld.info/3darcade/

I'have very little python experience and I'm stuck with 2 problems

  1. How to save the 'models' page to html file so I can read it in the code example? They use 'source.html'

  2. If you click on a '.MAX' download link on the 'models' page, you get a message where you can choose 'ok' or 'cancel'. This message appears before you download the file. What do I need in the code above to select 'ok' in this message? This message only appears for '.MAX' links

If anybody can adjust the code to make it work, I would be very happy
I tried for many weeks but I just don't have the knowledge to do it 😭😭😭

Thanks so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions