Hello everybody.
I have lines that looks something like this:
<done16=""118"" done18=""$ title=""thisisatitle"" href=""/JoeBanana" alt=""Joe""><done16=""118"" done18=""$ title=""thisisatitle"" href=""/GeraldGiraffe" alt=""Gerald"">
What kind of SED command would I need to use to extract... (4 Replies)
for example, I have an html file, contain
<a href="http://awebsite" id="awebsite" class="first">website</a>and sometime a line contains more then one link, for example
<a href="http://awebsite" id="awebsite" class="first">website</a><a href="http://bwebsite" id="bwebsite"... (36 Replies)
there is a text file like this
text here
text here
text here
text here
USER=someusername here
text here
text here
text here
how can i extract the someusername from this file which has a path like /home/myfile.txt?
i want to store it in a variable $u (3 Replies)
Here is what I have so far:
find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}'
Here is an example content of a PHP or HTM(HTML) file:
<iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
Hi All,
I want to launch "ex: http://gmail.com" from the cmd window and validate the credentials with username and password, is it possible?
I have found something like this
"wget --http-user=USER' --http-password=PASSWORD http://gmail.com" am new to this and unable to find a solution, i... (0 Replies)
Hey guys,
I am trying to send email to the usernames listed in a ascii file. I know about the .mailrc file. I want to know if I there is a way to extract the usernames from a file and email them. I tried something like this:
mailx -s "subject" '~cat... (2 Replies)
I setup Zoneminder and have been playing around with setting up a couple of Wanscam PTZ ip cameras in which I have been running into road blocks with streaming and etc. I cant find much information on the camera and its webserver that sits on it and wanted to get a an absolute directory structure... (5 Replies)
Hi All,
I am new to Shell scripting,
I want to connect to DB2 database through URL,username and password
Please help me out.
I read so many posts in that there is no where it is mentioned about how to connect to a remote database.
Thanks in advance :) (0 Replies)
I am writing a little python script that needs to grab version numbers between "<td>4.2.2</td>" within the tbody of the page:
blah blah blah blah blah
Is it possible to use a one-liner to scrap only the digits between the tags:
"<td>4.2.2</td>"
so it spits out:
4.2.2
4.2.1
etc..... (2 Replies)
using BeautifulSoup
how can i get the txt between all the
> </a>
example
>The Student .mp4</a>
thanks (10 Replies)
Discussion started by: bob123
10 Replies
LEARN ABOUT DEBIAN
net::google::authsub::response
Net::Google::AuthSub::Response(3pm) User Contributed Perl Documentation Net::Google::AuthSub::Response(3pm)NAME
Net::Google::AuthSub::Response - a response from a Net::Google::AuthSub request
SYNOPSIS
my $response = $auth->login($user, $pass);
if ($response->is_success) {
print "Yay!
";
} else {
if ($response->error eq 'CaptchaRequired') {
print "Captcha Image ".$response->captchaurl;
}
}
METHODS
new "HTTP::Response" "base url"
Create a new response.
is_success
Returns whether the response was a sucess or not.
SUCCESS METHODS
Methods available if the response was a success.
auth
The authorisation token if the response is a success.
sid
Not used yet.
lsid
Not used yet.
ERROR METHODS
Methods available if the response was an error.
error
The error code. Can be one of
BadAuthentication
The login request used a username or password that is not recognized.
NotVerified
The account email address has not been verified. The user will need to access their Google account directly to resolve the issue before
logging in using a non-Google application.
TermsNotAgreed
The user has not agreed to terms. The user will need to access their Google account directly to resolve the issue before logging in
using a non-Google application.
CaptchaRequired
A CAPTCHA is required. (A response with this error code will also contain an image URL and a CAPTCHA token.)
Unknown
The error is unknown or unspecified; the request contained invalid input or was malformed.
AccountDeleted
The user account has been deleted.
AccountDisabled
The user account has been disabled.
ServiceDisabled
The user's access to the specified service has been disabled. (The user account may still be valid.)
ServiceUnavailable
The service is not available; try again later.
url
The url of a page describing the error.
captchatoken
The token required to authenticate a captcha.
captchaurl
The full url of the captcha image.
perl v5.10.0 2009-05-09 Net::Google::AuthSub::Response(3pm)