thiagokokada / livedumper Goto Github PK
View Code? Open in Web Editor NEWLivestreamer stream dump
Home Page: https://pypi.python.org/pypi/livedumper
License: BSD 2-Clause "Simplified" License
Livestreamer stream dump
Home Page: https://pypi.python.org/pypi/livedumper
License: BSD 2-Clause "Simplified" License
Livestreamer API allows the developer to set some custom configuration for each Plugin (like http-proxy
, necessary to bypass regional restrictions on Crunchyroll). I will need to implement this sometime, since for now the user can't control media options.
Each video should have a significant title instead of random URL garbage. For example, for this url the name should be [Hatsune Miku] After Rain Sweet*Drops [English Sub].mp4
instead of watch_v=ZEtEH-GIAJE.mp4
.
One way to do it would be to download the HTML page, get everything between <title></ title>
and to use it. But in some cases (like this one) the returned filename would be really awkward: Crunchyroll - Watch Fate/kaleid liner PRISMA ILLYA 2wei! Episode 1 - Illya Grow Up?!.mp4
The filename is too big, has illegal characters (like /?!
) and has unecessary things like "Crunchyroll - Watch". We need to filter this somewhat, but I still don't know what is the best way to do it.
P.S.: just for reference, the filename of the Crunchyroll case should be something like Fate-kaleid liner PRISMA ILLYA 2wei Episode 1 - Illya Grow Up.mp4
Need to add automated tests sometime.
hello
i love your works ^^
juste one problem impossible to get french subs ? and get the 1080 to crunchyroll video pleez explained me how to use ?
tx in advance
When the download completes successfully, the script exits with status 1, which generally indicates failure. A successful download should result in 0 exit status.
$ livedumper http://www.crunchyroll.com/parasyte-the-maxim-/episode-1-metamorphosis-662583 low
Downloaded 97280.0 KB of file 'Crunchyroll___Watch_Parasyte__the_maxim__Episode_1___Metamorphosis.ts'
Complete download of file 'Crunchyroll___Watch_Parasyte__the_maxim__Episode_1___Metamorphosis.ts'
$ echo $?
1
i get this error when i try to download. i install everything i need to install
'livedumper' is not recognized as an internal or external command,
operable program or batch file.
I want to add an option to allow the user to watch the video while downloading it. It may need some changes to the way I open the file now, but should work.
Wrong import name (urllib.parse
), seems to be easy for now.
For example,
"livedumper http://www.crunchyroll.com/mushi-uta/episode-1-the-beginning-of-the-dream-567486 best"
doesn't work. It exits with error
Plugin error: Media lookup error: You don't have permission to do this.
although I am able to watch it online without logging in.
Any idea why this is happening? I haven't encountered this problem on any other series on Crunchyroll thus far.
PS: Thanks for this simple and damn useful program, btw. :)
With Youtube, for example this link: https://www.youtube.com/watch?v=KOTi6VEuoMs.
The actual get_title()
function generates just a watch.mp4
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.