edit: and maybe other info too like who uploaded etc
Code: Select all
if {[regexp -nocase {<name>(.{1,})<\/name>} $y_data - y_data_n]} {
set y_data_n [string map -nocase [list {"} {"} {&} {&} {<} {<} {>} {>}] $y_data_n]
regsub -all -nocase {[ ]{1,}} $y_data_n { } y_data_n
} else {
putlog "YouTube: parsing error (<title>, $y_api$y_vid)"
}
http://ereader.kiczek.com/youtube.tcl<nick> https://www.youtube.com/watch?v=g7ECDwBIvhw
<bot> Waka Flocka Flame - Flockaveli (full album) 2010 | I DO NOT OWN ANY OF THIS Copyright disclaimer under Section 107 of the Copyright Act 1976: allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted b... ( by Bisharoeli | 1:07:48 | 5.00 rating | 5 comments | 1,696 views | 4w 1d 3h 24m 7s ago )
Code: Select all
youtubeMsg privmsg $chan "\002\00301,00You\00300,04Tube\00399 [youtubeMap $n] ($rd)"Code: Select all
YouTube The Doors- Light My Fire (7:14)[11:28:40] YouTube 1.4: Loaded..
[11:28:40] YouTube 1.4: Http: 2.8.5;BotIsPatched: 1;EncodingSystem: utf-8;Tcl: 8.6;Eggdrop: 1.6.21;Suzi: NO
Hello, is there a way for adding likes/dislikes to this script?speechles wrote:http://ereader.kiczek.com/youtube.tcl<nick> https://www.youtube.com/watch?v=g7ECDwBIvhw
<bot> Waka Flocka Flame - Flockaveli (full album) 2010 | I DO NOT OWN ANY OF THIS Copyright disclaimer under Section 107 of the Copyright Act 1976: allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted b... ( by Bisharoeli | 1:07:48 | 5.00 rating | 5 comments | 1,696 views | 4w 1d 3h 24m 7s ago )