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

Bug with url, possible addition to program #2507

Closed
GigabitPony opened this issue Mar 4, 2014 · 2 comments
Closed

Bug with url, possible addition to program #2507

GigabitPony opened this issue Mar 4, 2014 · 2 comments

Comments

@GigabitPony
Copy link

@GigabitPony GigabitPony commented Mar 4, 2014

E:\Downloads\WGET>youtube-dl -v http://www.animedubbednow.net/fairy-tail-episode
-81-english-dubbed/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.animedubbednow.net/fairy-tail-epis
ode-81-english-dubbed/']
[debug] Encodings: locale 'cp1252', fs 'mbcs', out 'cp437', pref: 'cp1252'
[debug] youtube-dl version 2014.03.04.1
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] : Requesting header
WARNING: Falling back on generic information extractor.
[generic] : Downloading webpage
[generic] : Extracting information
ERROR: Unsupported URL: http://www.animedubbednow.net/fairy-tail-episode-81-engl
ish-dubbed/; please report this issue on https://yt-dl.org/bug . Be sure to call
youtube-dl with the --verbose flag and include its complete output. Make sure y
ou are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 260, in _real_extract
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: not well-formed (invalid token): line 148, column 165
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 493, in extract_info
File "youtube_dl\extractor\common.pyo", line 162, in extract
File "youtube_dl\extractor\generic.pyo", line 447, in _real_extract
ExtractorError: Unsupported URL: http://www.animedubbednow.net/fairy-tail-episod
e-81-english-dubbed/; please report this issue on https://yt-dl.org/bug . Be sur
e to call youtube-dl with the --verbose flag and include its complete output. Ma
ke sure you are using the latest version; type youtube-dl -U to update.

@yasoob
Copy link
Contributor

@yasoob yasoob commented Mar 23, 2014

for this we first have to request the above mentioned url which is :

http://www.animedubbednow.net/fairy-tail-episode

and then there is an embed url in the resulting HTML page which in this case is

http://vidup.org/embed.php?file=8b388fcb&w=550&h=420&bg=http://www.verilscriptz.com/anime/pimpanime.jpg

We can extract that embed url using this regex:

re.search('id="video" src="(.+)" frameborder',a).group(1)

We have to open that embed url. The resulting HTML has some json data and we can use this regex to extract it:

re.search('url:(.+).mp4',a.text)

And then we have the final .mp4 url. @phihag I hope you can convert it into a full IE currently I don't have time. I will make some IE's in future when I get time.

@phihag
Copy link
Contributor

@phihag phihag commented Mar 24, 2014

This video seems to be copyrighted, and not be distributed by the copyright holder. Uploading at multiple sites (some of which have deleted it already) is another sign. Additionally, http://www.animedubbednow.net/anime-movies/ lists a lot of obviously copyrighted videos.

As a matter of policy, youtube-dl does not support sites that infringe copyright. Therefore, I'm sorry to say that support for animedubbednow.net will not be added, unless you can show that they indeed possess the right to distribute their content.

@phihag phihag closed this Mar 24, 2014
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
4 participants
You can’t perform that action at this time.