<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/12011" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2006-06-19T03:18:46-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/12011</id>

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2006-06-15T16:03:37-04:00</updated>

		<published>2006-06-15T16:03:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64059#p64059</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64059#p64059"/>
		<title type="html"><![CDATA[egghttp again - [SOLVED] (used a different method)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64059#p64059"><![CDATA[
<blockquote class="uncited"><div>but livescore.com is a normal site with normal http code.<br>anyways thanks for the info, i'll try to change egghttp to give me everything and i'll deal with the dump my self.</div></blockquote>You should have said so in the first place...what happens when you fetch livescore.com using your script? (it seems most of the content is on a single line - which would be impossible to transmit in a single PRIVMSG)<br>btw: the markup on that page sucks - have fun parsing it  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_twisted.gif" width="15" height="15" alt=":twisted:" title="Twisted Evil"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Jun 15, 2006 4:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SaPrOuZy]]></name></author>
		<updated>2006-06-15T15:55:57-04:00</updated>

		<published>2006-06-15T15:55:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64058#p64058</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64058#p64058"/>
		<title type="html"><![CDATA[egghttp again - [SOLVED] (used a different method)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64058#p64058"><![CDATA[
thx for ur reply.<br>my main issue is not getting my ip <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br>it was just an example that i tried.<br>what am trying is to get <a href="http://www.livescore.com" class="postlink">http://www.livescore.com</a><br>am making a script to get world cup matches scores and post them on the channel.<br><br>egghttp worked with other sites, but it seems it's not owrking with livescore.com the data i get is empty.<br><br>anyway now am going to try to exec a wget on the site , rename the file , and work on the file <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> hehe<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4727">SaPrOuZy</a> — Thu Jun 15, 2006 3:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2006-06-15T15:47:53-04:00</updated>

		<published>2006-06-15T15:47:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64055#p64055</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64055#p64055"/>
		<title type="html"><![CDATA[egghttp again - [SOLVED] (used a different method)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64055#p64055"><![CDATA[
<blockquote class="uncited"><div>but livescore.com is a normal site with normal http code.<br>anyways thanks for the info, i'll try to change egghttp to give me everything and i'll deal with the dump my self.</div></blockquote>There's nothing wrong with the http part...it's the part of egghttp dealing with the content that expects markup...your ip is probably the last line of [egghttp:headers $sock], so try <div class="codebox"><p>Code: </p><pre><code>[lindex [split [egghttp:headers $sock] \n] end]</code></pre></div> ...but i still think strikelight should make some changes to his script <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> (i've sent him a PM about it)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Jun 15, 2006 3:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SaPrOuZy]]></name></author>
		<updated>2006-06-15T08:54:13-04:00</updated>

		<published>2006-06-15T08:54:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64040#p64040</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64040#p64040"/>
		<title type="html"><![CDATA[egghttp again - [SOLVED] (used a different method)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64040#p64040"><![CDATA[
but livescore.com is a normal site with normal http code.<br>anyways thanks for the info, i'll try to change egghttp to give me everything and i'll deal with the dump my self.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4727">SaPrOuZy</a> — Thu Jun 15, 2006 8:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2006-06-15T08:47:22-04:00</updated>

		<published>2006-06-15T08:47:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64039#p64039</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64039#p64039"/>
		<title type="html"><![CDATA[egghttp again - [SOLVED] (used a different method)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64039#p64039"><![CDATA[
egghttp looks for a "&lt;" to locate the "body" of the http response... you'll have to change the output of the site to include a "&lt;" or alter the way egghttp locates the end of the header. (all header fields (should) start with a single word that ends with a ":") Make strikelight fix it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Jun 15, 2006 8:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SaPrOuZy]]></name></author>
		<updated>2006-06-15T04:15:39-04:00</updated>

		<published>2006-06-15T04:15:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64036#p64036</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64036#p64036"/>
		<title type="html"><![CDATA[egghttp again - [SOLVED] (used a different method)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64036#p64036"><![CDATA[
so the problem isn't in the code?<br>i tried it initially on a different site (<a href="http://www.livescore.com" class="postlink">www.livescore.com</a>) <br>with the same outcome.<br>that's why i thought it was from the code<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4727">SaPrOuZy</a> — Thu Jun 15, 2006 4:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-06-15T04:11:45-04:00</updated>

		<published>2006-06-15T04:11:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64035#p64035</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64035#p64035"/>
		<title type="html"><![CDATA[egghttp again - [SOLVED] (used a different method)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64035#p64035"><![CDATA[
Nope, sorry:<blockquote class="uncited"><div>~$ telnet <a href="http://www.whatismyip.org" class="postlink">www.whatismyip.org</a> 80<br>Trying 206.176.224.3...<br>Connected to am3.am.net.<br>Escape character is '^]'.<br>GET / HTTP/1.0<br><br>HTTP/1.0 200 OK<br>MIME-Version: 1.0<br>Date: Thu, 15 Jun 2006 08:10:42 GMT<br>Server: AOLserver/4.0<br>Content-Type: text/plain<br>Content-Length: 11<br>Connection: close<br><br>208.98.**.**Connection closed by foreign host.<br>~$</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Thu Jun 15, 2006 4:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SaPrOuZy]]></name></author>
		<updated>2006-06-19T03:18:46-04:00</updated>

		<published>2006-06-14T17:46:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64014#p64014</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64014#p64014"/>
		<title type="html"><![CDATA[egghttp again - [SOLVED] (used a different method)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64014#p64014"><![CDATA[
hi there<br><br>i've written the following script :<div class="codebox"><p>Code: </p><pre><code>bind pub - !bleh  check_pageproc check_page {nick uhost handle chan arg} {puthelp "privmsg #bleh : ***************getting page"set sock [egghttp:geturl www.whatismyip.org/ get_score]puthelp "privmsg #bleh : ***************finished page"}proc get_score {sock} {puthelp "privmsg #bleh : entered get_score"set buffer [egghttp:data $sock]puthelp "privmsg #bleh : $sock"puthelp "privmsg #bleh : $buffer"egghttp:cleanup $sockset x 0foreach line [split $buffer "\n"] {      inc x 1      puthelp "PRIVMSG #bleh : $x $line"}puthelp "privmsg #bleh : left get_score"}</code></pre></div>when i trigger it, i get the following:<br><blockquote class="uncited"><div>[21:32] &lt;@Reverence&gt;  ***************getting page<br>[21:32] &lt;@Reverence&gt;  ***************finished page<br>[21:32] &lt;@Reverence&gt;  entered get_score<br>[21:32] &lt;@Reverence&gt;  9<br>[21:32] &lt;@Reverence&gt;  <br>[21:32] &lt;@Reverence&gt;  left get_score</div></blockquote>any idea why the data gotten is empty?<br>thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4727">SaPrOuZy</a> — Wed Jun 14, 2006 5:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
