Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    May 2007
    Posts
    52

    Get info from URLencoded

    Hi again.

    Im trying to take information from a URLEncoded file.

    For be specific its from Youtube.

    The path of the file is something like http://www.youtube.com/get_video_info?video_id=VIDEO_ID

    Where VIDEO_ID is the ID of the video (dah!).

    Well, the problem is that when I load the URL on my navigator (FF) it downloads all as a file with the information.

    Exist a posiblity to get the info direcly and save is as a string for use later?

    Thanks

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    I admit my web-skills are not extremely high.. but what is a urlencoded file?


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  3. #3
    Join Date
    Jun 2008
    Posts
    108
    Here is something about urlencoding, but i´m too don´t know what is a urlencoding-file.

    http://www.blooberry.com/indexdot/ht...rlencoding.htm

    URLencoding is for spezial characters.

    I think they use temporary url´s for the download.

  4. #4
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Yes; I know what urlencoding is - just not what "urlencoded file" is.... UU encoded maybe?


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  5. #5
    Join Date
    May 2007
    Posts
    52
    You can try downloading this to have an idea: http://www.youtube.com/get_video_inf...id=RTh2pADosNs


    Firefox tells me:
    what is? application/x-www-form-urlencoded

  6. #6
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    It's just a text file. Open it with Notepad or any other text editor.
    Dermot

    I am so out of here

  7. #7
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Quote Originally Posted by nicoh View Post
    You can try downloading this to have an idea: http://www.youtube.com/get_video_inf...id=RTh2pADosNs


    Firefox tells me:
    what is? application/x-www-form-urlencoded
    status=ok&title=Basshunter+-+Dota+%2B+translation&muted=0&avg_rating=4.7880824 3728&creator=Kiwikuchen&length_seconds=235&fmt_map =&token=OEgsToPDskLGWEZ7xhfVxl3nhswx7xAn&thumbnail _url=http%3A%2F%2Fi3.ytimg.com%2Fvi%2FRTh2pADosNs% 2Fdefault.jpg&allow_ratings=True&plid=AARafHe7xEDh PgDWAAAAoARoIAE&track_embed=1

  8. #8
    Join Date
    May 2007
    Posts
    52
    Yes, I know that I can open it with notepad.

    But, I need to use the file as string to get the values in AMS.. is this possible?

  9. #9
    Join Date
    May 2006
    Posts
    1,443
    a similar thing that i have replied before
    download file with URL
    load it with textfile.readtostring()
    and assign it to a numerically indexed table

    example is here

    note: example shows only how to parse a string like that

    ps: i can not open http://www.youtube.com for the test
    because that site blocked by my ISP

  10. #10
    Join Date
    May 2007
    Posts
    52
    Quote Originally Posted by reteset View Post
    a similar thing that i have replied before
    download file with URL
    load it with textfile.readtostring()
    and assign it to a numerically indexed table

    example is here

    note: example shows only how to parse a string like that

    ps: i can not open http://www.youtube.com for the test
    because that site blocked by my ISP
    Ok, I must leave my home now... @ night Ill test it.

    Thanks

Similar Threads

  1. CPU info???
    By TimeSurfer in forum AutoPlay Media Studio 7.5
    Replies: 2
    Last Post: 01-14-2008, 12:11 PM
  2. Displaying tag info from a playing playlist (m3u)
    By Stobe in forum AutoPlay Media Studio 7.5
    Replies: 0
    Last Post: 11-30-2007, 11:18 AM
  3. How i Remove the Info at version
    By DaSoul in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 03-10-2007, 01:22 PM
  4. Display App Version info
    By Jonas DK in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 08-04-2006, 10:46 PM
  5. Scan cdrom get info save to database
    By bobbie in forum AutoPlay Media Studio 6.0
    Replies: 2
    Last Post: 03-07-2006, 05:02 PM

Posting Permissions

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