*
* handles a given site and returns the stream url
*/
public static String getMediaURL(final String sourceURL) {
if (sourceURL == null) {
final YouTubeGrabber youTube = new YouTubeGrabber();
return youTube.getYouTubeStream(Internet
.text("https://www.youtube.com/watch?v=kGubD7KG9FQ"));
}
if (sourceURL.isEmpty()) {
return "";
}
if (sourceURL.contains("youtube")) {
final YouTubeGrabber youTube = new YouTubeGrabber();
return youTube.getYouTubeStream(Internet.text(sourceURL));
} else if (sourceURL.contains("soundcloud")) {
return SoundCloudGrabber.getCachedURL(sourceURL);
} else if (sourceURL.contains("vk.me")) {
if (sourceURL.contains(".mp3")) {
return sourceURL;