473,322 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

LWP not working with this site....

This just hangs trying to get to nfl.com. Any thoughts?

#!/usr/bin/perl

use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$req = new HTTP::Request GET => "http://www.nfl.com/scores.shtml";
$res = $ua->request($req);
$res->Is_Success() || die "Couldn't Connect";
print $res->Content();

Jul 19 '05 #1
1 2551
"marius_13" <x@x.x> wrote in message news:<5e*******************@bignews5.bellsouth.net >...
This just hangs trying to get to nfl.com. Any thoughts?

#!/usr/bin/perl

use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$req = new HTTP::Request GET => "http://www.nfl.com/scores.shtml";
$res = $ua->request($req);
$res->Is_Success() || die "Couldn't Connect";
print $res->Content();


After correcting the obvious typos (Perl identifiers are case
sensative) it works just fine here.

What have you done to try to partition your problem? Have you tried
using LWP to access other sites? Presumably not or you'd have fixed
the typos.

Have you tried to access this site using a raw TCP session? Using a
browser? Perhaps you've got firwall issues.

This newsgroup does not exist (see FAQ). Please do not start threads
here.
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: anand | last post by:
In my website i want to trace the event when user log off from the site by closing the explorer so i am unable to run any server side program at that time and my session_onend event also not...
5
by: Jeff Johnson | last post by:
I'm using forms authentication to protect a subfolder within my site. I've got it working fine except for two issues: (1) When I do a RedirectFromLogin page I have to put a cookie path ("/"...
8
by: Hardy Wang | last post by:
Hi: Is it possible for me to create/open web application from remote machine other than port 80? And create application directly under virtual web site instead of creating a virtual directory?...
8
by: Brad Simon | last post by:
I have written a shopping cart using ASP .NET (VB). It has been running quite successfully on a site for about a year or so. I use the SessionID as the key to hold information on the shopping...
5
by: Martin Heuckeroth | last post by:
Hi We are working on a webservice application and are having some problems with the cookies and/or sessions. We have them working on our intranet but then its not working on the internet. We...
0
by: aBs0lut30 | last post by:
Hi Guys, I am working on a site and recently added several client callbacks to the project. Everything works GREAT while debugging the site in visual studio. Last night I copied the site up to our...
1
by: tshad | last post by:
I have a site with SSL connected and in my IIS 6 properties window the port is set to 4434 and it was working OK. I then accidently put 4434 in another site on a machine and it quit working. I...
3
by: Sergio Correia | last post by:
I have a program in 'C:\Python25\Lib\site-packages\spam\spam.py' Importing and everything works fine: But the program calls a file located on the same folder (that is:...
10
by: sickboy | last post by:
Hey everyone, I am working on a new site, ForceFedTV.com and I have gotten reports that the site runs great on mac, but once loaded on a pc, after clicking a few links then going back to the home...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.