YoutubeTitle Error
Started 4 months ago by MrBeta in TCL Support
Youtubetitle hasn't worked again for a few days, giving an error as per the example below.Hello and thanks <~Releisa> yt Creedence Clearwat...
Body
Youtubetitle hasn't worked again for a few days, giving an error as per the example below.
Hello and thanks
<~Releisa> yt Creedence Clearwater Revival Have You Ever Seen The Rain
<&BOTolino> [YouTube] Titolo: <br /> | Caricato da: <br /> | Durata: ms | Data: <b>Warning</b>: Undefined array key 1 in <b>/home/chati172/public_html/yt/index.php</b> on line <b>52</b><br /> | Visualizzazioni: <b>Warning</b>: | Piace: <br /> | Collegamento: 48.745.776 - [3 Mio. ] -
17 Replies
-
ive uploaded the new php, (and fixed the missing ; error!)
this is now the response in the browser
The Worst Crash of My Career! Queensland Raceway | Renee Gracie 11.242 221 0 https://www.youtube.com/watch?v=4e68nDiXPSE 10563
and irc...
<SarahJane> [YouTube] Title: The Worst Crash of My Career! Queensland Raceway | Renee Gracie | Uploaded by: | Length: ms | Date: | Views: 11.234 | Like: - [] -
still missing a few things....but we are much closer!
thanks
Replied 2 months ago
thanks mate!.. ive sent an email with the ytitle_data
this is the current responce to match
157.632 3953 0 https://www.youtube.com/watch?v=8gEiAKiNRjY 10525
can't download the attachment.
Replied 2 months ago
i also changed the tcl to point to ytitle.tclscript.net and its works fine in irc...
so theres something bad with the php for sure...
the link to my php source is http://brocky.trollskap.no/index.php
i hit it with this to get a response in browser... http://brocky.trollskap.no/index.php?link=https://www.youtube.com/watch?v=d-YcVLq98Ew&ab_channel=OFFTOPIC
I see that your source doesn't get the title. We got to get the entire source seen by the eggdrop.
Edit the index.php and
after
$fp = mb_convert_encoding($fp, 'HTML-ENTITIES', "UTF-8");
put this code
$handle = fopen('ytitle_data', 'w'); fwrite($handle, $fp); fclose($handle);
After that, use the tcl via browser and a file will be made in the main directory of the php source with the name ytitle_data. Send it to me trough mail so i can modify the index.php for your eggdrop.
i also changed the tcl to point to ytitle.tclscript.net and its works fine in irc...
so theres something bad with the php for sure...
the link to my php source is http://brocky.trollskap.no/index.php
i hit it with this to get a response in browser... http://brocky.trollskap.no/index.php?link=https://www.youtube.com/watch?v=d-YcVLq98Ew&ab_channel=OFFTOPIC
<BLaCkShaDoW> yt gims <BT-WORK> [YouTube] Title: GIMS - Vent du Nord (Official Lyrics Video) | Uploaded by: GIMS | Length: 2m26s | Date: 2024-09-05 | Views: 304.698 | Like: 19.426 | Link: https://www.youtube.com/watch?v=Ih7SNDyHNGg - [12966] -
I tried with my source, ytitle.tclscripts.net and it works, you got to type like i do in my browser for my source : http://ytitle.tclscripts.net/index.php?link=https://www.youtube.com/watch?v=iZuS578mpIg&ab_channel=HOYNAR and send me an email or paste here the output from your source and also send me the link of your source.
ahh thats how ya pass stuff to the PHP! (yeah im lame!)...
so ive just tried this... basically click that link ^ ...shows correct info..eg...
Hoynar - Ultima comandă🍷feat. @fcharm (Videoclip Oficial) 451.758 6170 0 HOYNAR 2022-03-22T09:59:44-07:00 PT3M42S https://www.youtube.com/watch?v=iZuS578mpIg 13387
but if i try the php on my server...i just get this responce...
167.316 10.791 0 https://www.youtube.com/watch?v=d-YcVLq98Ew 10503
it seems theres defo something wrong with the php script thats been uploaded here....or possibly its an old version...
the download page for the PHP has the date November 17, 2022 09:17 PM that seems quite old!
but the php file in the zip is dated 16/04/2024... so seems right.... ¯\_(ツ)_/¯
<BLaCkShaDoW> yt gims <BT-WORK> [YouTube] Title: GIMS - Vent du Nord (Official Lyrics Video) | Uploaded by: GIMS | Length: 2m26s | Date: 2024-09-05 | Views: 304.698 | Like: 19.426 | Link: https://www.youtube.com/watch?v=Ih7SNDyHNGg - [12966] -
I tried with my source, ytitle.tclscripts.net and it works, you got to type like i do in my browser for my source : http://ytitle.tclscripts.net/index.php?link=https://www.youtube.com/watch?v=iZuS578mpIg&ab_channel=HOYNAR and send me an email or paste here the output from your source and also send me the link of your source.
<~tigre> yt gims
<&BOTolino> [YouTube] Titolo: <html> | Caricato da: <hr><center>nginx</center> | Durata: </html>ms | Data: </body> | Visualizzazioni: <head><title>301 | Piace: <body> | Collegamento: - [] -I had already sent you all 4/5 different domains that I tested for php files, but if you remember there was no change.
Strange because the horoscope and your other tcl work without problems, only YouTube gives me errorsIf it's just my problem I can't find a solution
Replied 3 months ago
<BLaCkShaDoW> yt gims <BT-WORK> [YouTube] Title: GIMS - Vent du Nord (Official Lyrics Video) | Uploaded by: GIMS | Length: 2m26s | Date: 2024-09-05 | Views: 304.698 | Like: 19.426 | Link: https://www.youtube.com/watch?v=Ih7SNDyHNGg - [12966] -
I tried with my source, ytitle.tclscripts.net and it works, you got to type like i do in my browser for my source : http://ytitle.tclscripts.net/index.php?link=https://www.youtube.com/watch?v=iZuS578mpIg&ab_channel=HOYNAR and send me an email or paste here the output from your source and also send me the link of your source.
hey Dan... do you think php needs an update?
the yt search trigger is also returning with some blank values
yt test
[YouTube] Title: | Uploaded by: | Length: ms | Date: | Views: 162.643 | Like: .401 | Link: https://www.youtube.com/watch?v=YQFAIpAbmD4 - [] -
Bottom ad position