Results 1 to 3 of 3

Thread: desktop automation in linux (downloading specific files)

  1. #1
    Join Date
    Apr 2006
    Location
    planetoid Alpha-278
    Beans
    36

    desktop automation in linux (downloading specific files)

    I want to automate uubntu to download, move and delete specific files
    specifically, download .torrent files named *ubuntu* from http://linuxtracker.org/
    I think this can be accomplished with some bash script, cron, transmission or maybe firefox imacros, rss, vuze ..

    if anyone has idea, please post solution

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: desktop automation in linux (downloading specific files)

    This is what I would do:

    Analyze the html code of that page. If it were very simple, I would use wget to get the page, and then a combination of sed, awk, or grep inside a bash script.

    If it were a complex page, I would use python with a library called BeautifulSoup that is designed to parse html code.

    Once I got the *ubuntu*torrents links, I would use transmission-daemon as a back end, and load the torrents using transmission-remote:
    Code:
    $ transmission-remote -n user:password -a url
    Just some thoughts,
    Regards.

  3. #3
    Join Date
    Apr 2006
    Location
    planetoid Alpha-278
    Beans
    36

    Re: desktop automation in linux (downloading specific files)

    Quote Originally Posted by papibe View Post
    This is what I would do:
    Thanks!
    same subject has been resolved here
    http://ubuntuforums.org/showpost.php?p=7949235
    http://ubuntuforums.org/showthread.php?t=848652

Bookmarks

Posting Permissions

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