-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken URLs #10
Comments
eggdrop 1.80 https://twitter.com/Breaking911/status/842624423358291968 [05:09:32] Tcl error [UrlTitle::handler]: can't read "meta(Content-Type)": no such element in array |
@OmkAR2013 that should be fixed in the latest version |
I got all previously unworking url's working. It's great! Everything except Twitter https links. https://twitter.com/Reuters There's no error being displayed in the bot log, so I'm not sure what's happening. Any suggestions? What setup do you have teeli for your working bot? CONFIG -> I am mOOpeY, running eggdrop v1.8.1+RC2: 1 user (mem: 100k). tDOM - a XML/DOM/XPath/XSLT implementation for Tcl tcltls-1.7.11.tar.gz |
We're getting similar with random urls now. 07:57:19 <@knofte> https://casinojakten.se ii libtcl8.6:amd64 8.6.5+dfsg-2 amd64 Tcl (the Tool Command Language) v8.6 - run-time library files |
is it fixed yet ? |
Should be better support for HTTP(S) redirects and case insensitive HTTP headers now. Google, Twitter etc. should work. |
Hi @teeli, I have a new issue: with this url: On the partyline, I see this:
So I added Line 183 in 34582be
Any idea? |
I get the same on that url. |
Apparently XPath fails to parse title on that page. I'm not sure why, I suspect it could be because of invalid html structure (stray doctype). I should probably add some error checking and maybe a regex fallback (if that helps, need to test) |
Updated a new version that should fix that issue |
Fixed indeed. Well done. Your TCL-fu is admirable. |
after updating imdb there is a problem with urltile 21:37:09 <~lollko> https://www.imdb.com/title/tt1025100/ is it possible to fix ? |
Looks like there's an inline SVG element on the page that has a For reference ...
<svg width="175px" height="30px" viewBox="0 0 172 29" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>TryIMDbProFree</title>
<g id="tryIMDbProFree" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<rect id="tryIMDbProFreeButton" stroke="#A88734" fill="#F1C241" x="1" y="1" width="170" height="28" rx="3"></rect>
<text id="tryIMDbProFreeText">
<tspan x="33" y="19">Try IMDbPro Free</tspan>
... |
I've updated a new version now, that fixes the issue with title tags outside Should fix the issue with the IMDB link above. |
working fine :) thx for you work |
Great work, thanks. Most links work fine but BBC News articles don't work for me. :( [10:11:59] Connection to https://www.bbc.co.uk/news/uk-england-south-yorkshire-47623303/ failed |
Yo, YouTube changed earlier this year (afaik) which created a problem with urltitle, same happened to youtube-dl: For example: Some say forcing ipv4 for lookup could be used, but was not succesful with curl -I -4 unfortunately. It'd be great to get YT-titles fixed again :) |
I'll take a look and try to figure that out, but it'll probably be a bit more complex fix and might take a bit more time than usual. Looks like it's blocked by the youtube servers on a request level instead being just a parsing error in the script. |
Yeah, it seems like the title is loaded firstly after a redirect has been made. Quite annoying feature. :) |
There is a youtube-api.tcl available for using the youtube API, perhaps that could give some hints. |
Not sure if its me or not but any page from reuters.com comes back with a blank title. |
Same thing here, version 0.11. |
https://www.bbc.com/news/world-us-canada-51483541 - Nothing happens, no errors in console either. |
Twitter broke some weeks ago, nothing happens on those links. EDIT: Other sources tell me Twitter needs API to work. Perhaps not as easy fix then. Rather use a twitter exclusive script. |
hi fellas i tried some YT links but url title show me
maybe yt redesign yt site ? here is my "conf" from egg
|
Hi @teeli Twitter links aren't working for quite a while (no output at all). Can you have a look? Thanks! |
x.com aka twitter link still not working @teeli example: https://x.com/Space_Station/status/1807824547309093239 |
Please report any URLs that aren't working properly (either causing errors on your bot's partyline or just not showing titles correctly) here.
Make sure you include the URL in question, any errors you might see and your configuration (any relevant software versions, e.g. eggdrop version, tcl version, tcl extension versions)
The text was updated successfully, but these errors were encountered: