Programming :: Select Options From Website To Initiate Download From Script
Nov 18, 2010
I usually use wget to download stuff from websites when scripting.I have a new requirement that requires me to authenticate then select some options to execute the download. How would I go about this? First thing that comes to mind is using keyboard macros in the Windoz world but I need to do this in bash or perl.
So I have the burned ubuntu CD, and I'm attempting to install it on a system that has one HDD with XP/Vista on it, and another that is completely formatted and unpartitioned. However, when I boot to the ubuntu CD, I can use the menus from the bottom, and select the language when initially prompted, but I can't select any of the menu options except for boot from first hard drive.
Alternative to Internet Download Manager (IDM) to download movies from any website.Ok, so one of the cool things about IDM was that i was able to download movies from ..... and other sites that have video clips on their site, but now that i have switch all my computers over to ubuntu linux, i now need an alternative to this problem because IDM will not work with the firefox on ubuntu linux.So my question is, do you guys know of an alternative software for downloading movies from any site such as ..... and other sites?
been trying to get linux installed on a troublesome laptop for 48 hours now without any luck so thought I'd post here as my last option.
I've tried installing 10.10 desktop, 9.04 netbook remix and just this minute 10.04 netbook versions of ubuntu, as well as other versions of various linux distros.
I woke up this morning and burnt 10.04 netbook to CD (not usb) as I wanted to put it on an old laptop with max resolution of 1024x768. I put it in an external CD drive and it boots up to the options screen on the Live CD, where you can choose to 'try Ubuntu netbook without installing' or 'install ubuntu netbook' etc.
The problem is, I can't click (press enter) on any of the options. The same problem arose with earlier versions, i.e 9.04 netbook remix Ubuntu.
I have just tryed to install Ubuntu 11.04 onto a USB to install on a netbook. I used the software recomended to prep the USB and booted to it.
In the opening menu where you can select to install on a partition I am unable to press enter, it seems to just reset the menu. The keyboard seems to be working fine because I can use the arrow keys.
I have been unable to find a solution to this problem online, all I have found is this simular issue, with no resolution.
[URL]
The netbook I am using is the Samsung n220 which apparently works well with ubuntu.
Issue with the 'host' command that comes with bind-utils package.We don't have any browsing/name resolution issues except to the following two sites:
[code]....
command [URL] returned:
www.aeroplan.com is an alias for www.halb.aeroplan.com. www.halb.aeroplan.com has address 207.34.195.17 ;; connection timed out; no servers could be reached ;; connection timed out; no servers could be reached
[code].....
I have tried to run the "host" command against different DNS caching servers I have access to all produced the same timed out error. I called Aeroplan technical support to report the issue to them and from their perspective, they have no problem accessing the website.And we don't have any problem accessing any websites ourselves if "host" return A record lookup without the timed out error.
1. It's not our firewall filtering out packet. I tried it on external facing server without firewall and got the same result.
2. It's not our DNS caching server cause same errors are observed on our ISP caching server.
3. It works on an altogether network, from a Windows Vista desktop, through IE 8.
I am trying to perform a hard drive installation of RHEL 5.5. I specify the installation method and the partition and directory holding the ISO image in /etc/grub.conf
Code:
However, I am still presented with the "Installation Method" and "Select Partition" screens when anaconda runs. Is the syntax of the repo boot option correct?
I'm new to Linux. I use Soalris all the time.In Solairs, I can go to "sunfreeeware.com" to download most of the third party softwares.But for redhat Linux, what's the good website to download "rpm"?
I'd like to download a whole website for offline reading, I know wget does this, but how would it work with a site that needs login to view content? Of course I've got the password to login, I just don't know how to let wget know that.
I want to download every page on a particular website that has: [URL[].. as the beginning so any page that begins with that will be downloaded, so for example [URL]...I tried "wget -r [URL]..
What is the best and easiest way to download music from an external website onto Ubuntu? I have both Rhythmbox and mplayer installed, but it's not clear to me how you download music so that it is recognized by those players. Would it be easier to use a terminal for downloading?
I searched the faq, I did a search online for this etc. The reason I ask is that suse on the download page of 11.3 states don't download directly since it is very slow and has no check sum. Therefore the iso may be flawed and you have spent 10 hrs trying to download the iso. My "fast" internet through qwest is at 1.5 mbps download so I assume that is why it is so slow to download the iso of 4.7 Gb.Now for the question the download page suggets you use bit torrent since it does the checksum but will download the iso no faster than the direct method. Second is to use check metalink with the addon in Firefox downthemall. I did this and had quite a time getting the iso link for 11.3 to start downloading. I would start downthemall from the Firefox toolbar and I thought wow!!! it downloaded that iso fast, how cool. Well it was not the iso but the website for the download page! At one point I got it to start downloading the iso but came in this morining and it was still going after 17hrs and showed several hours to go. I gave up and deleated it.
This afternoon I just gave in and started the download again using the bit torrent and I am waiting for the download to finish. I did eveything the site indicated but after and hour I noticed under logger it said **** openSuse-11.3-DVD i586 iso: PIECE 2206 FAILED HASH CHECK. It shows this same message from the begining of the download 7hrs ago to the last few minutes on each section. It states it is 75% complete? Is this normal or am I wasting 10 more hours? Sorry if this is not the place for this question but I never had trouble with downloading 11.2 and burning it to the disk. I think I just used the Directlink method and crossed my fingers. It did download ok!
I need to download a file from a website which has a URL formatted like:
[URL]
This redirects to a .zip file which has to be saved. There is also a need to authenticate based on username and password.
I tried to use wget, curl and lynx with no luck.
UPDATE:
wget doesnt work with redirection. It simply downloads the webpage instead of the zip file. curl gives the error "Maximum redirection exceeded > 50 " lynx also gives the same error.
I know a guy who has a website setup where he can download files from Megaupload with his premium account without signing in. He takes the MU link's ID, eg: URL... adds it to the end of the URL (URL...) and it downloads using the premium account logged in on the computer he has his site hosted on. We don't get along well and I would rather not ask him how he does it.
How would I set this up on my own computer? I can see this being extremely useful for me if I need to download some of my artwork or projects from MU but I don't want to sign in because I'm on a public computer or something. I already have everything installed on my computer to host a site. I have a simple "Hello World" page running on my webserver right now. I don't need help getting that part set up, just the rest of it.
The original thread was closed because "Sounds as if you are trying to steal a service which you have not paid for. We do not support that kind of activity here on Ubuntu Forums." However, it's not stealing since I am only going to use this with accounts that I have legitimately paid for.This might not be the right place to post this... if that's the case, I apologize - please move it to the correct location.I know a guy who has a website setup where he can download files from Megaupload with his premium account without signing in. He takes the MU link's ID, eg: http://www.megaupload.com/?d=xxxxxxxxand adds it to the end of the URL (http://192.168.1.199/mu/?d=xxxxxxxx) and it downloads using his premium account logged in on the computer he has his site hosted on. We don't get along well and I would rather not ask him how he does it.
How would I set this up on my own computer to use my premium account? I can see this being extremely useful for me if I need to download some of my artwork or projects from MU but I don't want to sign in because I'm on a public computer or something or because the computer has MU blocked. I want this to be a private site that only I have access to since it's my premium account and my money. I am not asking how to circumvent megauploads download limit at all (I've already paid for it... no need to circumvent it).
I just need a nudge in the right direction. Thanks in advance for any help you can provide.I already have everything installed on my computer to host a site. I have a simple "Hello World" page running on my webserver right now. I don't need help getting that part set up, just the rest of it. I assume this has something to do with setting up a proxy server - I just don't know how to do that and make it work like I need it to.
I have currently had the need to go back to basic socket programming, and implemented a simple udp packet sender. But I realized I needed to be able to select which network interface to send the packets from.
The reason is so that one of the interfaces has vlan tagging, and I need my UDP packets to be accordingly vlan tagged. For example, one of the interfaces is eth1.200.
looking to implement a website where business partners can download/upload documents. The files and the "partner areas" should be password protected.Are there open source projects / Ubuntu packages readily available for implementing this type of web-based file sharing service
In Windows 7, the options are pretty nice - ability to change track name, artist, composer, album, song number in album, etc., all from "Properties." In Ubuntu 10.10, Properties really gives you the bare minimum. Is there a program to download in order to get the same sort of basic options as one does from Properties in Windows 7?
I have a process that forks, where the childs puts some data of random size and exits while the parent should get the data and does some manipulation.. here I have used a pipe for child to write the data and parent to read the data.. Child simply dumps the data, and the data is of any size even child and parent doesnt know. I have used select in the parent to see whether there is any data coming on the reading end of the pipe.. if there is a data.. I copy into a buffer.. Im reading the data continusly when the child exits after closing the writing end of pipe. Parent gets blocked on the read part But my question is how parent know the other of pipe is closed when using the select call. In otherwords.. while using select in readfds, how would i know the other end has closed the pipe..
Im wondering how to create a menu in c like bash's select. I imagine there is already something out but I don't know what it would be. Im a c newb but been scripting for a long time now and trying to pick up a little c.this would be what I am looking to display:
Code:
1) option 1 2) option 2 3) option 3
Make a selection:obviously 1,2,3 would be the only valid selection and anything else would say invalid or something like that.
Trying to export a Mysql query to a .csv file the query draws from multiple tables, e.g. sales, purchase and currency
Code:
What i'm trying to do is to export both the sales and purchase to a single line where both the currency for the sales and the purchase is specified.
Basically like this:
Code:
Problem here is that i'm stating currency.value twice in the same select and don't know how to define which currency.value applies to sales and which to purchase.