copying .FLV files from the cache
I want to lift the .FLV video files from Youtube etc directly from my cache. I understand that Youtube in particular has made this process more difficult by changing where the files are stored. I'm also aware that the file can be found after it has been deleted if it's still open in the browser, as it is still referenced for later use.
I've found nothing in the /tmp file. I've also done an extensive search in the
~/.mozilla/firefox/*.default/Cache
directory. Any flash file I found I'd slap an .flv tag at the end and run it through VLC player. I made sure to keep the video open in the browser, pausing it before it finished to keep it from being deleted. I also let it finish to see if that would make a difference.
I decided to try find the deleted file. I used the following commands:
lsof | grep Flash
This command turned up no results.
lsof | grep flash
this only turned up files from the directory
/opt/mint-flashplugin-11/libflashplayer.so
lsof | grep deleted
none of these files looked big enough, nor where they in any kind of browser cache. the files I found here belonged to the following directories:
~/.local/share/gvfs-metadata
/usr/lib/at-spi2-core/at-spi2-registryd
/usr/lib/at-spi2-core/at-spi-bus-launcher
I've accomplished the same task with a Firefox addon, but I'd like to be able to do it manually. If anyone can help me out, I'd be much obliged.
3/13/2013
Comments
-
Have you tried using youtube-dl from the CLI to download the videos?
http://rg3.github.com/youtube-dl/0 -
Yes that did work, thanks very much. That allows me to dl through a script. (-:
If anyone knows how I can find video files in the cache, I'm still very interested in that information.0 -
If you wish to manually locate video files in a directory you can use the file utility which outputs the file type based upon the mime information in the first few lines of the file, such as.
ls -tr|xargs file|grep Flash|cut -d " " -f 1
Which will use the file utility to show the file types for all files in your directory, then grep the flash videos and it uses cut to parse out only the filename.0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 768 Linux Foundation IT Professional Programs
- 379 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 101 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 4 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 11 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 3 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 796 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 120 Mobile Computing
- 20 Android
- 85 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 395 Off Topic
- 121 Introductions
- 30 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 693 Software Development
- 1K Software
- 400 Applications
- 182 Command Line
- 5 Compiling/Installing
- 69 Games
- 318 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)