ovelayer commented on a Page, Youtube url detector for mIRC  -  Jun 29, 2013

doesn't seem to work anymore any chance of a fix?

FordLawnmower  -  Jun 29, 2013

I still have this working @overlayer . What problem are you having?

ovelayer  -  Jun 29, 2013

i paste link in channel like
http://www.youtube.com/watch?v=vYeajoizdm0
and it doesn't display anything

FordLawnmower  -  Jun 29, 2013

Did you change anything or add a script that might conflict with this one @overlayer ?
It's still working fine here so, I'm just grasping at straws. Any info might help.

ovelayer  -  Jun 29, 2013

running mirc 7.32 and window's 8
when i do +ydetect it doesn't respond..or when i paste a link
i even reinstalled mirc and still can't seem to get it to work

incognitus  -  Jul 09, 2013

Same here, +ydetect doesnt even respond.

Can you take a look at that, FordLawnmower? Thanks a lot.

FordLawnmower  -  Jul 09, 2013

Now that I look at this , something has happened to the code. Not sure if I'm at fault or @Hawkee .
Can you see anything wrong with this:
Image
I'll post the correct code in a few moments.

FordLawnmower  -  Jul 09, 2013
ovelayer  -  Jul 09, 2013

now it responds when activated but i still can't get it to respond when link is posted..
and yes i see the error in the A
sence the A was not correct is it possible
alias -l Xchr {
var %return $regsubex($regsubex($1-,/&#x([A-F0-9]{1,2});/g,$chr($base($regml(\n),16,10))),/&#([0-9]{2});/g,$chr(\1))
return $replacecs(%return,–,,·,·,»,»,«,«,Ü,Ü,ü,ü,Á,Á,á,á,É,$&
É,é,é,Í,Í,í,í,Ó,Ó,ó,ó,Ñ,Ñ,ñ,ñ,Ú,Ú,ú,ú, ,$chr(32),$&
æ,æ,",",&,&)
is incorect as well?
just a thought

incognitus  -  Jul 10, 2013

FordLawnmower thanks for the update. Script works fine again but it doesnt show views and likes. Only title, uploader and date.

Can you add that too please. Thanks again : )

Vegito  -  Nov 13, 2013

Replace line 65 with:

if ($regex(%LinkDetectorForYoutube,/<span class="likes-count">(.*?)</span>/i)) {

That should fix the likes.

Replace line 68 with:

elseif ($regex(%LinkDetectorForYoutube,/<span class="dislikes-count">(.*?)</span>/i)) {

To fix the dislikes.

Replace line 71 with:

elseif (<span class="watch-view-count $"> isin %LinkDetectorForYoutube) {

That should fix the views.

incognitus  -  Nov 13, 2013

Thanks, Vegito. Works great!

FordLawnmower  -  Nov 16, 2013

I didn't know this was broken again. Updated.

Vegito  -  Nov 17, 2013

Could also add that we can see the length of the video.

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.