Skip to content

Instantly share code, notes, and snippets.

@SnehaSahu05
Created June 24, 2017 18:00
Show Gist options
  • Save SnehaSahu05/268008c18f9c1b52e21b909b6efed7cc to your computer and use it in GitHub Desktop.
Save SnehaSahu05/268008c18f9c1b52e21b909b6efed7cc to your computer and use it in GitHub Desktop.
How to download video (*.swf format) from URL in CHROME?

Example URL :: https://www.websitename.com/path/file/file.html

STEPS to download

  1. Open the link in a Chrome Tab and play. Allow it to load completely.

  2. Right click on an empty area outside the main video and select 'Inspect'.

  3. Make sure you are on the 'Elements' Tab and click on the 'arrow' symbol that says "Select an element in the page to inspect it".

    This allows to point to the corresponding line in HTML code by simply pointing to an element on the page.

  4. Now point to the desired video and it will highlight the element as well as its respective code -

     "<object type="application/x-shockwave-flash" data="filename.swf" width="1280" height="818">"
    

    Just for note: There will also be another line of code that looks somewhat like -

     "<param name="movie" value="filename.swf">"
    
  5. Right click on the code and select 'Edit as HTML'

  6. Copy the content besides data or value. In our example it would be "filename.swf"

  7. Now edit the URL like -

    Actual : https://www.websitename.com/path/file/file.html

    New : https://www.websitename.com/path/file/filename.swf

  8. Open this new URL in another tab.

  9. Select 'Save page as...' & save it as an *.swf file.

  10. The downloaded file can now be played offline in internet explorer or Google Chrome (browser supporting flash unlike Microsoft Edge).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment