Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 29220  / 3 Years ago, tue, august 3, 2021, 3:59:28

I know that in Windows, Internet Explorer stores .flv temp files in temporary folder (C:Users%username%AppDataLocalMicrosoftWindowsTemporary Internet Files) when viewing YouTube. And the same make and Google Chrome in Windows (C:Users%username%AppDataLocalGoogleChromeUser DataDefaultCache). So it's easy to find a copy of that .flv file.



How about Chromium in Ubuntu? Does it store browsing temp data and where?


More From » chromium

 Answers
1

I wrote a small bash script that automates the excellent solution from Radu:



#!/bin/bash

pidNum=$(ps ax | grep flash | grep chromium | grep -v "grep" | sed -e 's/^ *//g' -e 's/ *$//g' | tr -s " " | cut -d " " -f 1)
procNum=$(ls -l /proc/${pidNum}/fd | grep Flash | tr -s " " | cut -d " " -f 9)

filename=$1
if [[ "$filename" == "" ]]; then
filename=$procNum
fi

echo "Copying /proc/${pidNum}/fd/${procNum} to '${filename}.flv'"
cp /proc/${pidNum}/fd/${procNum} "${filename}.flv"
ls -lah "${filename}.flv"

[#31458] Tuesday, August 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
afyess

Total Points: 437
Total Questions: 120
Total Answers: 107

Location: San Marino
Member since Fri, Jul 3, 2020
4 Years ago
afyess questions
;