Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Automate downloading of links

    I am a newcomer to coding... I have to download a large number of files from a site and they are all on separate pages. I was wondering if it is possible to scan through all the links maybe 2 pages deep and look for and simulate clicks on a download button?

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,010
    Thanks
    203
    Thanked 2,538 Times in 2,516 Posts
    Quote Originally Posted by ch_ase View Post
    I am a newcomer to coding... I have to download a large number of files from a site and they are all on separate pages. I was wondering if it is possible to scan through all the links maybe 2 pages deep and look for and simulate clicks on a download button?
    Short answer - no. Not with Javascript.

    All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • Users who have thanked Philip M for this post:

    ch_ase (08-07-2012)


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •