egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Durby & Twitter Links

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
BarGuy
Voice


Joined: 20 Aug 2019
Posts: 4

PostPosted: Wed Aug 21, 2019 9:16 am    Post subject: Durby & Twitter Links Reply with quote

So Ive been playing around with url title grabbers for my eggdrop. the first one I used would give results like (with the " in the title)
https://twitter.com/_faizann/status/1157157933223821317
<@BarBot> Title: faiz on Twitter: &quot;texted my number neighbor....safe to say i got a new best friendů &quot;

So I moved onto durby, which seems to be way better, except, (so far just with twitter), it only posts like this:
https://twitter.com/_faizann/status/1157157933223821317
<@BarBot> ~ Twitter

But any other URL will post the full title.
Any help would be appreciated
Back to top
View user's profile Send private message
heartbroken
Halfop


Joined: 23 Jun 2011
Posts: 90
Location: somewhere out there

PostPosted: Wed Aug 21, 2019 6:24 pm    Post subject: Reply with quote



I think, you got older version of tcllib/htmlparse .
_________________
Life iS Just a dReaM oN tHE wAy to DeaTh
Back to top
View user's profile Send private message
heartbroken
Halfop


Joined: 23 Jun 2011
Posts: 90
Location: somewhere out there

PostPosted: Thu Aug 22, 2019 3:48 am    Post subject: Reply with quote

about how durby works;

durby following redirects (if it exists!) and trying to get <title> from there.
" Twitter ( https://mobile.twitter.com/_faizann/status/1157157933223821317 )( 200; text/html; utf-8; 50849 bytes; 1 redirects )( 0s ago )"

durby detects your link redirecting to mobile.twitter and fetching title from there. and it has only
Quote:
<title>Twitter</title>
but your actual twitter link's html source has :
Quote:
<title>faiz on Twitter: &quot;texted my number neighbor....safe to say i got a new best friendů &quot;</title>

_________________
Life iS Just a dReaM oN tHE wAy to DeaTh
Back to top
View user's profile Send private message
BarGuy
Voice


Joined: 20 Aug 2019
Posts: 4

PostPosted: Thu Aug 22, 2019 9:07 am    Post subject: Reply with quote

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber