I got an error for the first time I called extractorUrl()
It always return exception with this line of code
JSONObject ytPlayerResponse = new JSONObject(mat.group(1));
But when I try it again then it works as It should be.
After take a look deeply into html response.
I see some different between the first and second time json.
Seems youtube has change something.
Does anyone else got this error ?
More detail:
After checked the pageHtml.
it's contains privateDoNotAccessOrElseSafeScriptWrappedValue tag.
throws exception when extractor try to get json string.
I got an error for the first time I called extractorUrl() It always return exception with this line of code
JSONObject ytPlayerResponse = new JSONObject(mat.group(1));
But when I try it again then it works as It should be. After take a look deeply into html response. I see some different between the first and second time json. Seems youtube has change something. Does anyone else got this error ?