This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Durby & Twitter Links

Support & discussion of released scripts, and announcements of new releases.
Post Reply
B
BarGuy
Voice
Posts: 24
Joined: Tue Aug 20, 2019 3:27 pm

Durby & Twitter Links

Post by BarGuy »

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: "texted my number neighbor....safe to say i got a new best friend… "

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
User avatar
heartbroken
Op
Posts: 110
Joined: Thu Jun 23, 2011 11:15 pm
Location: somewhere out there

Post by heartbroken »

Image

I think, you got older version of tcllib/htmlparse .
Life iS Just a dReaM oN tHE wAy to DeaTh
User avatar
heartbroken
Op
Posts: 110
Joined: Thu Jun 23, 2011 11:15 pm
Location: somewhere out there

Post by heartbroken »

about how durby works;

durby following redirects (if it exists!) and trying to get <title> from there.
" Twitter ( https://mobile.twitter.com/_faizann/sta ... 3223821317 )( 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
<title>Twitter</title>
but your actual twitter link's html source has :
<title>faiz on Twitter: "texted my number neighbor....safe to say i got a new best friend… "</title>
Life iS Just a dReaM oN tHE wAy to DeaTh
B
BarGuy
Voice
Posts: 24
Joined: Tue Aug 20, 2019 3:27 pm

Post by BarGuy »

Thanks
Post Reply