Results 1 to 9 of 9

Thread: Help With Youtube search

  1. #1

    Thread Starter
    Lively Member Charlie Stallings's Avatar
    Join Date
    Nov 2009
    Location
    Virginia
    Posts
    118

    Help With Youtube search

    Im trying to make my program search you tube and add the results to either a listbox or listview id like to use listview so i could add the videos info to the subitems (length,users name,views,rating ect)

    if you can help please help me out

    here is the data from inet
    Attached Files Attached Files
    If i help please rate me

    If Your Question Has Been Answered Please Mark Your Thread As RESOLVED So Other People (ME) Can Use The Helpful Tips As Well , Thanks

    New to VBForums? It's ok i was also at one point n time and i am still learning and meeting new people everyday check out the FAQ Section it is very helpful




    Sleep brings release and the hope of a new day - Killswitch Engage

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Help With Youtube search

    Charlie, there are several threads on this forum for parsing HTML data. You may also want to visit the forum's CodeBank or UtilityBank. Maybe a generic routine exists there?
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Help With Youtube search

    YouTube Terms of Service

    From Section 4. H:
    H.You agree not to use or launch any automated system, including without limitation, "robots," "spiders," or "offline readers," that accesses the Service in a manner that sends more request messages to the YouTube servers in a given period of time than a human can reasonably produce in the same period by using a conventional on-line web browser. Notwithstanding the foregoing, YouTube grants the operators of public search engines permission to use spiders to copy materials from the site for the sole purpose of and solely to the extent necessary for creating publicly available searchable indices of the materials, but not caches or archives of such materials.
    Sounds like another violation.

  4. #4

    Thread Starter
    Lively Member Charlie Stallings's Avatar
    Join Date
    Nov 2009
    Location
    Virginia
    Posts
    118

    Re: Help With Youtube search

    dilettante you are far from wrong how am i violating anything when it clearly states that as long as im not automating anything im not "Violating" anything sir... now where did i say i wanted to automate anything i simply want to get the html data and load the seach results into a listbox .... the same thing as searching youtube with their search engine so you tell me sir what am i doing that a human cant do? or what am i violating? .... please understand what the person is doing before you jump to accusing people of stuff thank you ...
    If i help please rate me

    If Your Question Has Been Answered Please Mark Your Thread As RESOLVED So Other People (ME) Can Use The Helpful Tips As Well , Thanks

    New to VBForums? It's ok i was also at one point n time and i am still learning and meeting new people everyday check out the FAQ Section it is very helpful




    Sleep brings release and the hope of a new day - Killswitch Engage

  5. #5
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Help With Youtube search

    Webscraping in any form is often prohibited by Terms of Service. Often it is about making sure the advertising that pays for the site is seen by every user, or it can be about keeping bandwidth and server load down to affordable levels. But the reasons don't matter, the Terms dictate what is or isn't permitted.

    According to the YouTube TOS excerpt above your program would be fine if it just does searches at a pace that "a human can reasonably produce in the same period by using a conventional on-line web browser."

    This means pausing at each pageful of results for example, not rapid-firing requests until all search results are retrieved, and certainly not doing repeated searches using variations in spelling or arrangements of search terms, or running through a list of searches.

  6. #6

    Thread Starter
    Lively Member Charlie Stallings's Avatar
    Join Date
    Nov 2009
    Location
    Virginia
    Posts
    118

    Re: Help With Youtube search

    well dude lets see im sending the exact same url that youtube already uses and im not gathering anything from the search that doesnt come back with a normal search done via the youtube website all i want to do is simply search youtube and retrieve the results in a listbox .... the youtube website des the exact same thing except they dont use a listbox thats all .... im not "Rapid-firing" anything .... if you dont want to help thats fine but why accuse me of violating something when im clearly not ...
    If i help please rate me

    If Your Question Has Been Answered Please Mark Your Thread As RESOLVED So Other People (ME) Can Use The Helpful Tips As Well , Thanks

    New to VBForums? It's ok i was also at one point n time and i am still learning and meeting new people everyday check out the FAQ Section it is very helpful




    Sleep brings release and the hope of a new day - Killswitch Engage

  7. #7
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Help With Youtube search

    It wasn't clear before your last post, because you hadn't mentioned it at all before that... but from what you have posted it seems that what you want to do is acceptable.

    A tip for the future: when you are doing something that could potentially be interpreted as being against the Terms of a site (which is a category that this thread was definitely in before your last post), try make it clear in advance why it isn't - not only will you get less comments about it, but you will also get more help (because most people simply avoid the thread if they have any doubt).

    Also note that while you don't like what dilettante has posted, his last post was just good advice given the limited details you had posted up until that point.


    That's enough "off topic" posts - lets get back to focussing on solving the issue(s).

  8. #8

    Thread Starter
    Lively Member Charlie Stallings's Avatar
    Join Date
    Nov 2009
    Location
    Virginia
    Posts
    118

    Re: Help With Youtube search

    i agree and i think it is going to be a little harder then i thought lol but thank you all for posting


    and si i see where your coming from man, but at the same time not everyone that post should have to state hey im not doing anything illegal .... cause people shouldnt be doing anything that will violate the tos anyways
    If i help please rate me

    If Your Question Has Been Answered Please Mark Your Thread As RESOLVED So Other People (ME) Can Use The Helpful Tips As Well , Thanks

    New to VBForums? It's ok i was also at one point n time and i am still learning and meeting new people everyday check out the FAQ Section it is very helpful




    Sleep brings release and the hope of a new day - Killswitch Engage

  9. #9
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Help With Youtube search

    Quote Originally Posted by Charlie Stallings View Post
    and si i see where your coming from man, but at the same time not everyone that post should have to state hey im not doing anything illegal .... cause people shouldnt be doing anything that will violate the tos anyways
    A shocking amount of people do illegal things or violate terms, and several people attempt to get help with it here - and understandably we don't like helping with things like that.

    The vast majority of topics are unlikely to violate terms but subjects like this one frequently do (often accidentally), so it is only sensible for the people asking for help to make it clear that they aren't doing that, and if they don't for other people to check.

    If you are doing an activity that is close to the limits (like this one), then it is best to make your intentions clear - if you don't (like in this case, where we didn't even know you weren't doing "rapid fire" until post #6) then it is very easy to assume that you either haven't bothered to check the terms, or you are intentionally doing something wrong. While only dilettante posted something that showed concerns, many other people thought it but avoided the "politics" by simply leaving the thread.

    It is your choice to do something which is in an area where terms are highly likely to be violated, so on some level it is your choice to put the question in peoples minds. A little extra effort on your part to clarify the situation (especially after being prompted in post #3) would have eliminated the question, and therefore reduced/eliminated the hassle, and it would stop people from avoiding helping with your thread.

    We don't know you personally and we aren't mind readers, so we can't tell what your code is going to do unless you tell us. Clarifying it takes a small amount of effort, but it is for your own benefit (even when terms etc aren't involved).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width