vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Content Parsing (https://vborg.vbsupport.ru/showthread.php?t=215810)

dannyb2100 06-10-2009 09:42 AM

Content Parsing
 
Hey VB.Org

Looking to create a little modifcation but hit a block on how to do this,

I'm looking to parse content from a few "YouTube" websites, but I cant seem to get the content to parse through,
For an example, I just want to parse the top 10 most viewed videos from YouTube via http://www.youtube.com/browse?s=mp&t=a but I cant seem to get the HTML content to parse through.......... If its a noob problem sorry, but we have all got to learn at some point, just give me a slap with the PHP for dummys book XD

Anyone link me a guide or explain how I would go about this please ?

Thanks again.

Lynne 06-10-2009 01:11 PM

The best thing to do when asking for help with code is to post what you have so far. Or, at least post your thinking on how you plan to go about this.

For instance, how do you plan to get youtube to tell you what the top ten most view videos are? You need to somehow get youtube to pass you this information. You have a link to a page but I don't see how you are going to get the video id's from that.


All times are GMT. The time now is 03:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02308 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete