Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6638143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:24:00+00:00 2026-05-25T23:24:00+00:00

Looking through the site, every question uses an outdated method. How do the YouTube

  • 0

Looking through the site, every question uses an outdated method. How do the YouTube FLV downloader websites/applications do it?

I am trying to do this in PHP but the theory or steps to do it will suffice, thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:24:00+00:00Added an answer on May 25, 2026 at 11:24 pm

    As mentioned in other posts, you may want to look at our code in
    youtube-dl (or in the code of the Firefox extension called
    FlashVideoReplacer).

    In the particular case of youtube-dl, the “real work” is done in the
    subclasses of InformationExtractor and it hard to give a “stable” answer,
    as the layout of such sites changes constantly.

    There are some pieces of the information that are not dynamic, such as, for
    instance, the uploader of the video, the title, the date of upload, and,
    most importantly, the identifier of the video (a 11-character string).

    For the dynamic parts, what can be said about such tools is that,
    essentially, the URLs generated by such videos are dynamically generated and
    you need to perform some back-and-forth communication with the server.

    It is important to have in mind that what such sites can (and do) take into
    consideration depend on a number of parameters, including: the cookies that
    you have already received—as the case for HTML5 videos, your
    geolocation—for regional control, your age–for “strong” material, your
    language/locale—for showing content tailored to you, etc.

    youtube-dl uses a regular expression to extract the video ID from the URL
    that you give and, then, uses a “normalized”, typical URL as used from the
    United States, from which to proceed.

    Some of the dynamic data to be gathered includes:

    • some time-stamp (the expire, and fexp parts of the final URL)
    • the cookies sent to the browser
    • the format in which we want to download the video (the itag part of the final URL)
    • throttling information (the algorithm, burst, factor)
    • some hashes/tokens used internally by them (e.g., the signature part of the final URL)

    Some of the information listed above were once not required, but now they
    are (in particular, the cookies that they send you). This means that the
    information listed above is very likely to become obsolete, as the controls
    become stricter.

    You can see some of the work (with respect to the cookies) that I did in
    this regard in the implementation of an external backend to use an external
    downloader (a “download accelerator”) with what youtube-dl extracts.

    Discloser: I have committed some changes to the repository, and I maintain
    the youtube-dl package in Debian (and, as a side effect, in Ubuntu).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was looking through this site in order to try and find a way
I've been looking through the javadoc documentation on Sun's site, trying to find if
Looking through decimal.py , it uses NotImplemented in many special methods. e.g. class A(object):
While looking through some old code I came across this gem: MyObject o =
This question is part user experience, part engineering. I am trying to find a
Looking through the Mozilla JavaScript site, I see that JavaScript 1.8 has a lot
I am posing this question looking for practical advice on how to design a
I recently launched a Drupal site and noticed, after looking through my admin logs,
I have an FBA site that uses Sitecore. Every so often, it will confuse
Looking through multiple iOS crash logs, I'm finding stack traces which are near identical

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.