srid99 / einthusan-dl Goto Github PK
View Code? Open in Web Editor NEWA utility script to download movies from einthusan.tv
A utility script to download movies from einthusan.tv
C:\Users\siddharth\Desktop\einthusan-dl-master>einthusan-dl --path=C:\downloads
movies "<http://einthusan.com/movies/watch.php?tamilmoviesonline=Mankatha&lang=t
amil&id=579>"
2016-10-13 08:57:00,610 Downloading movie from page : <http://einthusan.com/movi
es/watch.php?tamilmoviesonline=Mankatha&lang=tamil&id=579>
2016-10-13 08:57:00,612 Unhandled exception: No connection adapters were found f
or '<http://einthusan.com/movies/watch.php?tamilmoviesonline=Mankatha&lang=tamil
&id=579>'
C:\Users\siddharth\Desktop\einthusan-dl-master>
I have tried to download a movie but it throws exception of 'NoneType' Object is not subscriptable.
Is it the python script issue or am i missing something in syntax?
C:\Users\Nikhil\Downloads\Compressed\einthusan-dl-master>einthusan-dl --path=C:\Users\Nikhil\Downloads\ "https://einthusan.tv/movie/watch/9029" --wget
2020-03-17 16:43:11,708 Downloading movie from page : https://einthusan.tv/movie/watch/9029
2020-03-17 16:43:13,238 Downloaded https://einthusan.tv/movie/watch/9029 (4087 bytes)
2020-03-17 16:43:13,367 Unhandled exception: 'NoneType' object is not subscriptable
Please help asap
While downloading a new movie , I am getting this error below. Anyone to look into it?
:\Users\rahul\Downloads\einthusan-dl-master\einthusan-dl-master>einthusan-dl "https://einthusan.tv/movie/watch/1DeS/?lang=hindi"
017-05-26 15:30:31,255 Downloading movie from page : https://einthusan.tv/movie/watch/1DeS/?lang=hindi
017-05-26 15:30:32,347 Downloaded https://einthusan.tv/movie/watch/1DeS/?lang=hindi (53922 bytes)
017-05-26 15:30:32,550 Unhandled exception: 'NoneType' object is not subscriptable
Is there a solution to this?
Im using pyhton 3.5.2 and get the following error....
C:\Users\einthusan-dl-master>einthusan-dl.bat "http://www.einthusan.com/movies/watch.php?malayalammoviesonline=Action+Hero+Biju&lang=malayalam&id=2939#"
Traceback (most recent call last):
File "C:\Users\einthusan-dl-master\einthusan-dl", line 4, in
from einthusan import einthusan_dl
File "C:\Users\einthusan-dl-master\einthusan\einthusan_dl.py", line 18, in
from urlparse import urljoin
ImportError: No module named 'urlparse'
A sample run, produced the following error:
$ ./einthusan-dl "http://einthusan.com/movies/watch.php?telugumoviesonline=Singamalai&lang=telugu&id=4021" --wget
2016-10-20 15:17:11,224 Downloading movie from page : http://einthusan.com/movies/watch.php?telugumoviesonline=Singamalai&lang=telugu&id=4021
2016-10-20 15:17:11,227 Starting new HTTP connection (1): einthusan.com
2016-10-20 15:17:11,262 Downloaded http://einthusan.com/movies/watch.php?telugumoviesonline=Singamalai&lang=telugu&id=4021 (28647 bytes)
2016-10-20 15:17:11,278 Starting new HTTP connection (1): cdn.einthusan.com
2016-10-20 15:17:11,299 Movie url: http://75.126.39.83/einthusancom/cold/D4021.mp4.m3u8?e=1477012551&md5=dBylyDdeMmtyXsLRLaGV-w
2016-10-20 15:17:11,300 Starting new HTTP connection (1): 75.126.39.83
2016-10-20 15:17:11,460 Downloading: Singamalai
--2016-10-20 15:17:11-- http://75.126.39.83/einthusancom/cold/D4021.mp4.ts?start=0.000&end=9663.680&e=1477012551&md5=dBylyDdeMmtyXsLRLaGV-w
Connecting to 75.126.39.83:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2016-10-20 15:17:11 ERROR 403: Forbidden.
2016-10-20 15:17:11,542 Successfully downloaded the movie Singamalai. Took 81675 microseconds
$
I need a guidance on how to use WGET in this Script. How can I download using external downloader.
I am having issues with downloading because it downloads to a certain point then gets stuck and the download crashes and i have to restart from 0%. Thus I have to monitor the downloads so that I don't have the command stuck for hours to end, thinking that it is probably still downloading.
./einthusan-dl
Traceback (most recent call last):
File "./einthusan-dl", line 4, in
from einthusan import einthusan_dl
File "/Users/localhost/einthusan-dl/einthusan/einthusan_dl.py", line 20, in
import requests
ImportError: No module named requests
Getting an error on a simple download without any special flags. Here is an example with Sillunu Oru Kaadhal
:
$ ./einthusan-dl http://einthusan.com/movies/watch.php?tamilmoviesonline=Sillunu+Oru+Kaadhal&lang=tamil&id=155
2016-06-14 21:52:18,474 Downloading movie from page : http://einthusan.com/movies/watch.php?tamilmoviesonline=Sillunu+Oru+Kaadhal
2016-06-14 21:52:18,488 Starting new HTTP connection (1): einthusan.com
2016-06-14 21:52:18,609 Downloaded http://einthusan.com/movies/watch.php?tamilmoviesonline=Sillunu+Oru+Kaadhal (973 bytes)
2016-06-14 21:52:18,611 Unhandled exception: 'NoneType' object has no attribute '__getitem__'
[1]- Done ./einthusan-dl http://einthusan.com/movies/watch.php?tamilmoviesonline=Sillunu+Oru+Kaadhal
[2]+ Done lang=tamil
Thoughts?
Current version doesn't work when trying to download a blu-ray version such as from http://www.einthusan.com/movies/watch.php?telugumoviesonline=Naayak&lang=telugu&id=1860&bluray=true. As I'm still going through the code and trying to figure out exactly how the process of selecting the correct stream works, I wasn't able to identify any specific reasons for this failure. I'll continue looking into this, but just wanted to bring it up as I believe it would be valuable functionality.
Edit: grammar
@srid99 I followed everystep you explained in the installation procedure, but when I try to download a movie. It prompts me einthusan-dl command not found. Help me to solve this and please make a README with detailed instructions.
Thanks in advance
Tried to download this movie which has a : in it's name.
Since the name contains a colon Windows is unable to create a folder with that name.
A simple solution would be to replace all special characters like these with a underscore.
I don't think it's a script fault, but now it seems to be getting a .m3u8 playlist instead of a .mp4 file, this is the answer I got when requesting the movie with id = 2936
http://169.50.64.99/einthusancom/hot/D2936.mp4.m3u8?st=uk980VAK2bKv5nHZvX_GGg&e=1468613125
Hi,
Thanks for creating the script.
There are updates to the url now, so can you please update the script to make it work according to the new format?
Thanks a ton! :)
Looks like the source has changed html meta or method of stream.
Here's the link: https://einthusan.tv/movie/watch/5h4X/?lang=tamil
What the script is looking at: https://s35.einthusan.tv/einthusancom/hot/D5h4X.mp4?e=1526736499&md5=LztPQss27B8K8KRoUwSGSA
What the script must be looking at:
https://s39.einthusan.tv/einthusancom/hot/D5h4X.mp4?e=1526734896&md5=UDpBbzi6xfdVzchMvdWk_A
When I try to test the script, I get the error:
ERROR:root:Unhandled exception: 'NoneType' object is not callable
I picked the following URL to test:
"http://www.einthusan.com/movies/watch.php?telugumoviesonline=Veeraa&lang=telugu&id=3014"
And used it raw, with --curl and with --wget, with the same issue.
Mind checking this?
Hi. Is this still working?
./einthusan-dl http://www.einthusan.com/movies/watch.php?hindimoviesonline=Sultan&lang=hindi&id=9032
[1] 47288
[2] 47289
svennela:einthusan-dl SridharVennela$ 2016-08-26 21:58:31,633 Downloading movie from page : http://www.einthusan.com/movies/watch.php?hindimoviesonline=Sultan
2016-08-26 21:58:31,671 Starting new HTTP connection (1): www.einthusan.com
2016-08-26 21:58:32,350 Downloaded http://www.einthusan.com/movies/watch.php?hindimoviesonline=Sultan (973 bytes)
2016-08-26 21:58:32,351 Unhandled exception: 'NoneType' object has no attribute 'getitem'
ModuleNotFoundError: No module named 'urlparse'
Hi,
I tried to run the script today and it does not work, I get the following error
2016-08-14 10:22:11,803 Starting new HTTP connection (2): 169.50.64.86
2016-08-14 10:22:12,594 Probably the file is missing from the AWS repository... waiting.
Error downloading, will retry in 4 seconds ...
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.