Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


C# how read one "string" of website?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
xXHoTNoSXx
How do I cheat?
Reputation: 0

Joined: 25 Nov 2011
Posts: 2

PostPosted: Mon Apr 16, 2012 8:46 pm    Post subject: C# how read one "string" of website? Reply with quote

First: my english is/are VEEEEERY sux, sorry!

Example: i wanna show on my app *when start* the LIKES of one video of youtube.. probably on label.. so.. will show for example: Likes: 1..
when click on some button the app will check if the Likes are 1 or different+.. like 2, 3...
if are 1 then the app dont do nothing
if are any number + of the first "likes" then the app do something

Can understand?

Somebody can show/help me with one example of code for this stuffs?

thanks for anything.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Apr 16, 2012 11:01 pm    Post subject: Reply with quote

Use the WebBrowser control to navigate to the video page and parse the document for the view count. Unless YouTube has an API you can access.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
xXHoTNoSXx
How do I cheat?
Reputation: 0

Joined: 25 Nov 2011
Posts: 2

PostPosted: Tue Apr 17, 2012 10:51 am    Post subject: Reply with quote

but.. can give me one example?
i guess with XML are better, no?

thanks ;x
Back to top
View user's profile Send private message
NotReallySureWhatGoesHere
Expert Cheater
Reputation: -1

Joined: 20 Feb 2012
Posts: 110

PostPosted: Fri Apr 20, 2012 6:08 am    Post subject: Reply with quote

I believe youtube has an api for that. If not you can download the page and parse to find your stats.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Apr 20, 2012 2:00 pm    Post subject: Reply with quote

Check this lib out:
http://code.google.com/p/google-gdata/

It's linked from YouTube as their .NET supported API library.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites