View previous topic :: View next topic |
Author |
Message |
Lynxz Gaming Expert Cheater Reputation: 4
Joined: 01 Jul 2017 Posts: 208 Location: help
|
Posted: Sat Dec 29, 2018 11:08 pm Post subject: getYoutubeChannelSubsFromLink(link) |
|
|
(bad english)
So i create this because im so bored
this can get subscriber count from the channel you wanted
maybe you can use this as a design xD
or you can make a cheat that unlocked if you get subs more than u want
please give credits to me xD
Code: | --////////////////////////////////////////////////
--// Created by Lynxz Gaming //
--// uses : getYoutubeChannelSubsFromLink(link) //
--// Please give credits :D //
--////////////////////////////////////////////////
function getYoutubeChannelSubsFromLink(CLink)
loadUrl = getInternet().getURL
channelLink = CLink
websource = loadUrl(channelLink)
stringlength = 0
stringlength2 = 0
if string.find(websource,'tabindex="0" aria') then
stringlength = string.find(websource,'tabindex="0" aria')
stringlength = stringlength + 25
websource = string.sub(websource,stringlength)
end
if string.find(websource,'">') then
stringlength2 = string.find(websource,'">')
stringlength2 = stringlength2 - 12
websource = string.sub(websource,0,stringlength2)
end
return websource
end |
put the script very top
uses : getYoutubeChannelSubsFromLink(link)
example :
Code: | local pewdsub = getYoutubeChannelSubsFromLink("https://www.youtube.com/user/PewDiePie")
local tseriessub = getYoutubeChannelSubsFromLink("https://www.youtube.com/user/tseries")
if pewdsub > tseriessub then
showMessage("Pewdiepie got more subs than tseries")
elseif pewdsub < tseriessub then
showMessage("Oh no!, tseries got more subs than pewdipie")
elseif pewdsub == tseriessub then
showMessage("Pewdiepie subs is EQUAL with tseries subs!")
end |
_________________
my english is bad
discord : rynx#9828
Last edited by Lynxz Gaming on Sun Dec 30, 2018 12:22 am; edited 1 time in total |
|
Back to top |
|
|
Lynxz Gaming Expert Cheater Reputation: 4
Joined: 01 Jul 2017 Posts: 208 Location: help
|
Posted: Sun Dec 30, 2018 12:25 am Post subject: Re: getYoutubeChannelSubsFromLink(link) |
|
|
(bad english)
u can use it depend on ur creativity, what will u do if u got the subscriber count
it do just get a subscriber count from a channel
and you can see script now
_________________
my english is bad
discord : rynx#9828 |
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1258
|
Posted: Sun Dec 30, 2018 12:45 am Post subject: |
|
|
People: I don't know if the number of subscribers wonders the difference.
Nevertheless: enthusiastic people: Always one step ahead.
Feel free to share code.
For a stronger and more useful result, the first step is important.
_________________
|
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Sun Dec 30, 2018 7:26 pm Post subject: |
|
|
What is these ?
Where is the lua extension ?
try with this link : getYoutubeChannelSubsFromLink("https://www.youtube.com/watch?v=qeh2zscThVw")
No video playing, because no web player prepared.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
|
Lynxz Gaming Expert Cheater Reputation: 4
Joined: 01 Jul 2017 Posts: 208 Location: help
|
Posted: Sun Dec 30, 2018 11:16 pm Post subject: |
|
|
Corroder wrote: | What is these ?
Where is the lua extension ?
try with this link : getYoutubeChannelSubsFromLink("https://www.youtube.com/watch?v=qeh2zscThVw")
No video playing, because no web player prepared. |
the link must be a channel, this do only get a channel subscriber
i already write the example up
_________________
my english is bad
discord : rynx#9828 |
|
Back to top |
|
|
Filipe_Br Master Cheater Reputation: 3
Joined: 07 Jan 2016 Posts: 272 Location: My house
|
Posted: Mon Feb 18, 2019 7:44 am Post subject: Re: getYoutubeChannelSubsFromLink(link) |
|
|
int = getInternet()
pageSource = int.getURL("https://www.youtube.com/user/PewDiePie")
print(string.match(pageSource, '<meta name="title" content="([^"]+)"'))
print(string.match(pageSource, 'title="([^"]+)" tabindex="0"'))
_________________
... |
|
Back to top |
|
|
Gereksizz Newbie cheater Reputation: 0
Joined: 04 Jan 2018 Posts: 16 Location: Anime Heaven
|
Posted: Sat Mar 09, 2019 10:08 am Post subject: Re: getYoutubeChannelSubsFromLink(link) |
|
|
You Are Alive? Eyy
_________________
Im A No Life |
|
Back to top |
|
|
|