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.
WorldStarHipHop URL not updated - not working for mobile URLs #5629
Comments
|
Thanks for the report. Android URLs will be supported in the next version. However, there's no actual iOS URLs, so I can't test it. If you find an iOS URL, feel free to open a new issue. |
Since a while WorldStarHipHop (WSHH for later reference) has changed its URLs and thus (on mobile) the links are not recognized by YoutubeDL.
To elaborate, here's the current __VALID_URL the current WSHH has:
"_VALID_URL = r'https?://(?:www|m).worldstar(?:candy|hiphop).com/videos/video.php?v=(?P.*)'"
However, on mobile (Android) the URL is:
http://m.worldstarhiphop.com/android/video.php?v=UNIQUEVIDEOREFHERE
As you can see, the URL, instead of '/videos/' or '/video/', has '/android/' (and I believe it's '/ios/' on iOS, can anyone verify?).
I believe, to correct this, the appropriate __VALID_URL would be:
"_VALID_URL = r'https?://(?:www|m).worldstar(?:candy|hiphop).com/(?:videos|android|ios)/video.php?v=(?P.*)'"
Then again, I'm absolutely not a coder and this might be wrong, but you get the idea.