4 Replies - 310 Views - Last Post: 29 December 2012 - 10:52 AM Rate Topic: -----

#1 psubill  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 21
  • Joined: 18-September 09

Help with scraper type application

Posted 29 December 2012 - 09:53 AM

I am new to c# and have been watching tons of tutorials but seem to learn nothing, I want to try some hands on so I want to build an app that goes to y*ut*be and brings back some information like, title, views, date posted ect. I was trying to used Get by element id, but when I use inspect element in chrome on the YT search results,there is no ID for these fields? Does YT hide them or should i use something else.
Is This A Good Question/Topic? 0
  • +

Replies To: Help with scraper type application

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6033
  • View blog
  • Posts: 23,415
  • Joined: 23-August 08

Re: Help with scraper type application

Posted 29 December 2012 - 09:57 AM

You must use the YouTube API.
Was This Post Helpful? 2
  • +
  • -

#3 psubill  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 21
  • Joined: 18-September 09

Re: Help with scraper type application

Posted 29 December 2012 - 10:05 AM

Yeah I saw the API but it was all about getting the videos but I couldn't find the parts I wanted , basically i just wanted to bring text results back. I 'll try looking through them again.
Was This Post Helpful? 0
  • +
  • -

#4 psubill  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 21
  • Joined: 18-September 09

Re: Help with scraper type application

Posted 29 December 2012 - 10:12 AM

Okay, Sorry your link seems to go to a different place then than I found and has more info, Thanks man I got to do some experimenting

This post has been edited by tlhIn`toq: 29 December 2012 - 10:53 AM
Reason for edit:: than not then - do they not teach in schools anymore?

Was This Post Helpful? 0
  • +
  • -

#5 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5432
  • View blog
  • Posts: 11,643
  • Joined: 02-June 10

Re: Help with scraper type application

Posted 29 December 2012 - 10:52 AM

View Postpsubill, on 29 December 2012 - 10:53 AM, said:

I am new to c# and have been watching tons of tutorials


"watching tutorials" ??

I don't care what anyone says: Watching a YouBoob video is NOT a tutorial. Just watching anything is barely going to teach you anything. Does just watching Bruce Lee make you a Kung Fu expert?

You need a guided, written educational path. Buy a book and WORK it from cover to cover.

Don't even consider building the video downloader you describe because you don't know enough to be able to architect the design let alone write the C#.


My standard beginner resources post - Updated DEC 2012

You can try to learn C# by dismantling snippets and googling terms - basically you can take a hit-n-miss, shotgun approach. Or you could just follow a proper training program whether it be a couple intro books, school, on-line course or series of tutorials like the ones we offer. I'll tell you from experience that just fumbling around in the dark and trying to teach yourself with no guidance doesn't work. Its like stumbling across a Harrier Jump Jet and trying to teach yourself how to fly with no background in piloting: You simply lack any groundwork to start from. How can you lay out your own training course if you don't already know the material? Would you go to a university where the teacher says "I don't know any of this but we'll fumble through it together?"

We have a tutorials section and a learning C# series of articles.

First learn the language by working 2-5 "Learn C# in 30 days" type books cover to cover. Do a couple hundred on-line tutorial projects where you build what you're told to build, the way you are told to build it WITH AN EXPLANATION OF WHY so you can learn.

There are three routes people seem to take when learning programming.
  • Just start trying to create programs
  • Start taking apart other programs and try to figure out the language by reverse engineering
  • Follow a guided learning course (school or self-teaching books)


For the life of me I can't figure out why people try 1 & 2. I strongly suggest taking the guided learning approach. Those book authors go in a certain order for a reason: They know what they're doing and they know the best order to learn the materials.

Quote

Where do I start?


You start by learning a coding language FIRST.
Learn to plan before you type.
THEN you start designing software with a purpose.


If this sounds like you

Newbie/Rookie said:

I have a little programming experience but I need to write ...
read this section
Spoiler


Otherwise, you can just jump to the resources here:
Some of the tutorials below are for C# or Java not C, C++, VB.NET [...]. But the conceptual stuff of classes, object oriented design, events etc. are not language specific and should give you enough guidance in theory of program development for you to be able to look-up specific code example in your chosen coding language.



Resources, references and suggestions for new programmers. - Updated Oct 2012
Spoiler

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1