Menu

Download of specific types from within a site and externally-linked

Help
Anonymous
2017-03-01
2017-03-01
  • Anonymous

    Anonymous - 2017-03-01

    I'm trying to download all .mp3 files from a website. This website can have its mp3 files hosted on either

    1. it's own main domain
    2. a subdomain of the same host
    3. linked directly to another domain.

    So what I'm trying to accomplish is download:
    http://www.domain.com/song1.mp3
    http://subdomain.domain.com/song2.mp3
    http://www.otherdomain1.com/song3.mp3
    http://www.otherdomain2.com/song4.mp3
    etc.

    Is this possible?

     

    Last edit: Anonymous 2017-03-01
  • Anonymous

    Anonymous - 2017-03-10

    and i'm looking for a way to download all torrents from a site.. but i don't find a way yet. I tried $crawler->addContentTypeReceiveRule("#application/x-bittorrent#");

    You may have to add Mp3 Content type i guess, still wonder why application/x-bittorrent not recognized :/

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.