Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Trying to add new IE #869
Trying to add new IE #869
Comments
|
Did you add |
|
If you want further help, you can open a branch in your fork so that we can comment and test the code. |
|
@jaimeMF Heres my fork in which i added hypem https://github.com/yasoob/youtube-dl i hope you can test it and provide me with some help. |
|
an example hypem url is http://hypem.com/track/1x36n/a+k+u+a+-+One%27s+company |
I am trying to add an IE for hypem.com but i am facing some problems. Here is my code (Its test code)
'''
class HypemIE(InfoExtractor):
"""Information Extractor for hypem"""
_VALID_URL = r'(?:http://)?(?:www.)?hypem.com/track/([^/]+)/([^/]+)'
'''
and i also added "HypemIE()" in "gen_extractors()" . The problem is that whenever i give it a hypem url it falls back to genericIE instead of using HypemIE. The input which i gave is:
I hope that you guys can help me. Any useful comments on my IE code are also welcome.