Bug #80305
Bug #22968: Hoster: youtube.com - Free
Hoster: youtube.com - Free |PLUGIN_DEFECT-Error: 6527b3c7303296b5fc8941b5725114d3
Status: | Closed | Start date: | 08/20/2016 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Hoster | |||
Target version: | - | |||
Resolution: | Duplicate |
Description
PLUGIN_DEFECT-Error Detected
Error ID 6527b3c7303296b5fc8941b5725114d3 Plugin youtube.com Account free Revision 34675
Probably the same Bug(s):¶
PLUGIN_DEFECT d62f331dfcf98e5c84c7345a43d3e70a #80604
Stacktrace:¶
IDV1: youtube.com-free jd.plugins.hoster.YoutubeDashV2 java.lang.NullPointerException org.jdownloader.plugins.components.youtube.YoutubeHelper.extractData(YoutubeHelper.java:1064) org.jdownloader.plugins.components.youtube.YoutubeHelper.refreshVideo(YoutubeHelper.java:1393) org.jdownloader.plugins.components.youtube.YoutubeHelper.loadVideo(YoutubeHelper.java:1237) org.jdownloader.plugins.components.youtube.ClipDataCache.getInternal(ClipDataCache.java:105) org.jdownloader.plugins.components.youtube.ClipDataCache.getInternal(ClipDataCache.java:176) org.jdownloader.plugins.components.youtube.ClipDataCache.get(ClipDataCache.java:67) jd.plugins.hoster.YoutubeDashV2.updateUrls(YoutubeDashV2.java:754)
Source Code:¶
IDV1: youtube.com-free jd.plugins.hoster.YoutubeDashV2 java.lang.NullPointerException org.jdownloader.plugins.components.youtube.YoutubeHelper.extractData( Line 1061: if (StringUtils.isEmpty(vid.description)) { Line 1062: // 04 Mai 2016 Line 1063: match = br.getRegex("<meta name=\"description\" content=\"([^\"]*)").getMatch(0); Line 1064: >> match = Encoding.htmlDecode(match.replaceAll("\\+", " ").trim().replaceAll("<br\\s*/>", "\r\n")); Line 1065: match = match.replaceAll("<a href=\"#\" onclick=\"[^\"]+\\((\\d+)\\*60 (\\d+)\\)[^\"]+\">(.*?)</a>", "\r\nJump to $3 https://youtu.be/" + vid.videoID + "?t=$1m$2s"); Line 1066: match = match.replaceAll("<a.*?href=\"([^\"]*)\".*?>(.*?)</a\\s*>", "$1"); Line 1067: vid.description = match; ) org.jdownloader.plugins.components.youtube.YoutubeHelper.refreshVideo( Line 1390: } Line 1391: } Line 1392: } Line 1393: >> this.extractData(); Line 1394: doFeedScan(); Line 1395: doUserAPIScan(); Line 1396: // String html5_fmt_map; ) org.jdownloader.plugins.components.youtube.YoutubeHelper.loadVideo( Line 1234: Line 1235: public void loadVideo(final YoutubeClipData vid) throws Exception { Line 1236: // TODO: add Cache Line 1237: >> refreshVideo(vid); Line 1238: } Line 1239: Line 1240: public void refreshVideo(final YoutubeClipData vid) throws Exception { ) org.jdownloader.plugins.components.youtube.ClipDataCache.getInternal( Line 102: if (cachedData == null) { Line 103: cachedData = new CachedClipData(proxyListNew, vid); Line 104: Line 105: >> helper.loadVideo(cachedData.clipData); Line 106: ref = new MinTimeWeakReference<CachedClipData>(cachedData, 15000, cachedID, CLEANUP); Line 107: CACHE.put(cachedID, ref); Line 108: ) org.jdownloader.plugins.components.youtube.ClipDataCache.getInternal( Line 173: // } Line 174: Line 175: private static CachedClipData getInternal(YoutubeHelper helper, String videoID) throws Exception { Line 176: >> return getInternal(helper, new YoutubeClipData(videoID)); Line 177: } Line 178: Line 179: public static void clearCache(DownloadLink downloadLink) { ) org.jdownloader.plugins.components.youtube.ClipDataCache.get( Line 64: Line 65: public static YoutubeClipData get(YoutubeHelper helper, DownloadLink downloadLink) throws Exception { Line 66: String videoID = downloadLink.getStringProperty(YoutubeHelper.YT_ID); Line 67: >> CachedClipData ret = getInternal(helper, videoID); Line 68: ret.clipData.copyToDownloadLink(downloadLink); Line 69: // put a reference to the link. if we remove all links with the ref, the cache will cleanup it self Line 70: ) jd.plugins.hoster.YoutubeDashV2.updateUrls( Line 751: Line 752: private VariantInfo updateUrls(DownloadLink downloadLink) throws Exception { Line 753: AbstractVariant variant = getVariant(downloadLink); Line 754: >> YoutubeClipData clipData = ClipDataCache.get(new YoutubeHelper(br, getLogger()), downloadLink); Line 755: if (variant instanceof SubtitleVariant) { Line 756: SubtitleVariant stVariant = ((SubtitleVariant) variant); Line 757: for (YoutubeSubtitleStorable si : clipData.subtitles) { )
Logs (only for developers):¶
ID Outdated Date Links 5267181887641 NO Thu Jul 07 10:56:57 CEST 2016 [LogTool] 2696281887641 Yes Thu Jul 07 10:57:06 CEST 2016 [LogTool]