Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[https://einthusan.tv/movie/watch/51MZ/?lang=hindi] can not be downloaded #12141

Closed
awei78 opened this issue Feb 15, 2017 · 0 comments
Closed

[https://einthusan.tv/movie/watch/51MZ/?lang=hindi] can not be downloaded #12141

awei78 opened this issue Feb 15, 2017 · 0 comments

Comments

@awei78
Copy link

@awei78 awei78 commented Feb 15, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.02.14. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.02.14

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

[Issue]
url:https://einthusan.tv/movie/watch/51MZ/?lang=hindi

Traceback (most recent call last):
  File "C:/Users/Administrator/Desktop/youtube_dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "C:\Users\Administrator\Desktop\youtube_dl\__init__.py", line 452, in main
    _real_main(argv)
  File "C:\Users\Administrator\Desktop\youtube_dl\__init__.py", line 442, in _real_main
    retcode = ydl.download(all_urls)
  File "C:\Users\Administrator\Desktop\youtube_dl\YoutubeDL.py", line 1796, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "C:\Users\Administrator\Desktop\youtube_dl\YoutubeDL.py", line 696, in extract_info
    ie_result = ie.extract(url)
  File "C:\Users\Administrator\Desktop\youtube_dl\extractor\common.py", line 369, in extract
    return self._real_extract(url)
  File "C:\Users\Administrator\Desktop\youtube_dl\extractor\einthusan.py", line 70, in _real_extract
    ej_links = self._decrypt(video_data['EJLinks'], video_id)
TypeError: string indices must be integers

[Reason]
_VALID_URL = r'https?://einthusan\.tv/movie/watch/(?P<id>[0-9]+)'
can not adapter this url

[Rolution]
Modify _VALID_URL to:
_VALID_URL = r'https?://einthusan\.tv/movie/watch/(?P<id>\w+)'

@dstftw dstftw closed this in 4cead6a Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.