JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #5701  
Old 12.08.2023, 09:47
mav mav is offline
Wind Gust
 
Join Date: Mar 2021
Posts: 42
Default

edit: 15.08.2023 - partially fixed with core #48149

sample for current youtube url decrypting issue. hope this helps - only the jpg is decoded

e.g. **External links are only visible to Support Staff****External links are only visible to Support Staff**

see attached extract from log file youtube.com_jd.plugins.decrypter.TbCmV2.log.1

exception stack trace
Code:
Caller: org.jdownloader.plugins.components.youtube.YoutubeHelper.getPage(YoutubeHelper.java:1848)
org.jdownloader.plugins.components.youtube.YoutubeHelper.getPage(YoutubeHelper.java:1841)
org.jdownloader.plugins.components.youtube.YoutubeHelper.refreshVideo(YoutubeHelper.java:1907)
org.jdownloader.plugins.components.youtube.YoutubeHelper.loadVideo(YoutubeHelper.java:1817)
org.jdownloader.plugins.components.youtube.ClipDataCache.get(ClipDataCache.java:94)
org.jdownloader.plugins.components.youtube.ClipDataCache.load(ClipDataCache.java:65)
jd.plugins.decrypter.TbCmV2.decryptIt(TbCmV2.java:600)
jd.plugins.PluginForDecrypt.decryptIt(PluginForDecrypt.java:356)
jd.plugins.PluginForDecrypt.decryptLink(PluginForDecrypt.java:462)
jd.controlling.linkcrawler.LinkCrawler.crawl(LinkCrawler.java:3613)
jd.controlling.linkcollector.LinkCollectorCrawler.crawl(LinkCollectorCrawler.java:32)
jd.controlling.linkcrawler.LinkCrawler$12.crawling(LinkCrawler.java:1731)
jd.controlling.linkcrawler.LinkCrawlerRunnable.run_now(LinkCrawlerRunnable.java:118)
jd.controlling.linkcrawler.LinkCrawlerRunnable.run(LinkCrawlerRunnable.java:49)
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
java.base/java.lang.Thread.run(Thread.java:1623)
Attached Files
File Type: rar youtube.com_jd.plugins.decrypter.TbCmV2.rar (40.4 KB, 1 views)

Last edited by mav; 15.08.2023 at 12:39. Reason: partially fixed with 48149
Reply With Quote
  #5702  
Old 13.08.2023, 12:01
Lucretius0000 Lucretius0000 is offline
DSL User
 
Join Date: Jul 2016
Posts: 36
Default

Hello been a while how is going?

i recently discovered that youtube plugin is working again, i do like this program for youtube is more flexible than other downloaders

but recently it download most of the videos but i get a lot of file not found even though when i retry it download them normally, how i avoid that , do i need to setup the chunk and number of downloads so that it doesnt happen again, or something like that? Or is another settings i need to check out?

jd is very good for huge playlists as i watch indie games mostly

i might actually have solved myself it was some settings in advanced, making the hd the top quality seems fixed the problem for now i need to do some testing, since there are too many video variants now

Last edited by Lucretius0000; 14.08.2023 at 12:41.
Reply With Quote
  #5703  
Old 14.08.2023, 13:36
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,683
Default

@Lucretius0000
Please post your log-ID here
If your bugreport is about a specific website which JD supports via plugin, please also provide example URLs which can be used to reproduce the issue you are having.

Bitte poste deine Log-ID hier.
Falls dein gemeldetes Problem ein Problem mit einer Webseite ist, die per Plugin unterstützt wird, stelle bitte zusätzlich Testlinks zur Verfügung, mit denen sich dein Problem nachstellen lässt.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #5704  
Old 14.08.2023, 19:08
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,683
Default

CORE-Updates have just been released.

YT Changelog:
- YoutubeReplacer: added 'DataOrigin' so each replacer object is aware of where its data was initially coming from (don't mix it up with already existing 'DataSource') useful for new improved package grouping auto mode
- TbCmV2: set username/uploader of auto generated mix playlists to "YouTube"
- YoutubeHelper: added new replacer 'PLAYLIST_CREATOR': name of the user who created that playlist. Needs separate tag as this can be different from name of the user who uploaded the video.
- New default name for playlist-packages: *PLAYLIST_CREATOR* - *PLAYLIST_TITLE*
- YoutubeClipData: updated: added missing fields
- added 'CHANNEL_SIZE' as new replacer field as it is different to 'PLAYLIST_SIZE'
- added short patterns for some replacements e.g. 'PL_ID'
- added PLAYLIST_DESCRIPTION as new tag
- Set playlist description as package comment if user prefers to have all playlist items in one package
- Worked on a simple setting which lets you put the position number of playlist-items to the beginning of the filenames regardless of the customized filename scheme (not yet finished)
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?

Last edited by pspzockerscene; 14.08.2023 at 19:08. Reason: Fixed typo
Reply With Quote
  #5705  
Old 14.08.2023, 19:16
Perene Perene is offline
JD Adviser
 
Join Date: Jun 2019
Posts: 113
Default

Why is JDW saying I can only download at 760p this video, if the player says it's available at 1080p, too?

**External links are only visible to Support Staff****External links are only visible to Support Staff**

Did I miss something?
Reply With Quote
  #5706  
Old 14.08.2023, 19:19
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,683
Default

Rightclick in YT player -> Display debug information

--> That videos "1080p" is 1920x760.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #5707  
Old 15.08.2023, 13:04
mav mav is offline
Wind Gust
 
Join Date: Mar 2021
Posts: 42
Default youtube url decrypting issue - part 2

sample for current youtube url decrypting issue - still present with #48149 (only partial fix) hope this helps - now only the name of the jpg is not correctly decrypted or no decryption happens at all - might just be an issue of the order in which the links are parsed.

e.g.
partial decrypt- only jpg missing issue:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**

no decrypt:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**


see attached extract from log file youtube.com_jd.plugins.decrypter.TbCmV2.log
youtube.com_jd.plugins.decrypter.TbCmV2.log.1

stack traces are the same for both scenarios:

exception stack trace - partial decode
Code:
Caller: org.jdownloader.plugins.components.youtube.YoutubeHelper.getPage(YoutubeHelper.java:2097)
org.jdownloader.plugins.components.youtube.YoutubeHelper.getPage(YoutubeHelper.java:2090)
org.jdownloader.plugins.components.youtube.YoutubeHelper.refreshVideo(YoutubeHelper.java:2156)
org.jdownloader.plugins.components.youtube.YoutubeHelper.loadVideo(YoutubeHelper.java:2066)
org.jdownloader.plugins.components.youtube.ClipDataCache.get(ClipDataCache.java:94)
org.jdownloader.plugins.components.youtube.ClipDataCache.load(ClipDataCache.java:65)
jd.plugins.decrypter.TbCmV2.decryptIt(TbCmV2.java:633)
jd.plugins.PluginForDecrypt.decryptIt(PluginForDecrypt.java:356)
jd.plugins.PluginForDecrypt.decryptLink(PluginForDecrypt.java:462)
jd.controlling.linkcrawler.LinkCrawler.crawl(LinkCrawler.java:3613)
jd.controlling.linkcollector.LinkCollectorCrawler.crawl(LinkCollectorCrawler.java:32)
jd.controlling.linkcrawler.LinkCrawler$12.crawling(LinkCrawler.java:1731)
jd.controlling.linkcrawler.LinkCrawlerRunnable.run_now(LinkCrawlerRunnable.java:118)
jd.controlling.linkcrawler.LinkCrawlerRunnable.run(LinkCrawlerRunnable.java:49)
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
java.base/java.lang.Thread.run(Thread.java:1623)
exception stack trace - no decode
Code:
Caller: org.jdownloader.plugins.components.youtube.YoutubeHelper.getPage(YoutubeHelper.java:2097)
org.jdownloader.plugins.components.youtube.YoutubeHelper.getPage(YoutubeHelper.java:2090)
org.jdownloader.plugins.components.youtube.YoutubeHelper.refreshVideo(YoutubeHelper.java:2156)
org.jdownloader.plugins.components.youtube.YoutubeHelper.loadVideo(YoutubeHelper.java:2066)
org.jdownloader.plugins.components.youtube.ClipDataCache.get(ClipDataCache.java:94)
org.jdownloader.plugins.components.youtube.ClipDataCache.load(ClipDataCache.java:65)
jd.plugins.decrypter.TbCmV2.decryptIt(TbCmV2.java:633)
jd.plugins.PluginForDecrypt.decryptIt(PluginForDecrypt.java:356)
jd.plugins.PluginForDecrypt.decryptLink(PluginForDecrypt.java:462)
jd.controlling.linkcrawler.LinkCrawler.crawl(LinkCrawler.java:3613)
jd.controlling.linkcollector.LinkCollectorCrawler.crawl(LinkCollectorCrawler.java:32)
jd.controlling.linkcrawler.LinkCrawler$12.crawling(LinkCrawler.java:1731)
jd.controlling.linkcrawler.LinkCrawlerRunnable.run_now(LinkCrawlerRunnable.java:118)
jd.controlling.linkcrawler.LinkCrawlerRunnable.run(LinkCrawlerRunnable.java:49)
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
java.base/java.lang.Thread.run(Thread.java:1623)
Reply With Quote
  #5708  
Old 15.08.2023, 13:06
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,683
Default

@mav
We are aware of this.
We haven't found time to work on it yet.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #5709  
Old 15.08.2023, 13:34
mav mav is offline
Wind Gust
 
Join Date: Mar 2021
Posts: 42
Default

this was just an update with new examples, as it seems there was a partial fix today with #48149
Reply With Quote
  #5710  
Old 15.08.2023, 13:36
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,683
Default

Nope, we haven't touched any of the browser request stuff.

All changes mentioned in my last post were about settings, GUI and channel/playlist crawl behavior.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #5711  
Old 15.08.2023, 20:19
paivadaniel paivadaniel is offline
Modem User
 
Join Date: Aug 2023
Posts: 1
Default Youtube Download Error: try restarting this link (plugin outdated?)

I use Ubuntu 22.04 and openjdk 11.0.20 2023-07-18. I installed the latest version of Jdownloader2 available for Linux from this page: https://jdownloader.org/download/index

My Jdownloader2 is downloading videos without problems from some sites that I tested, however, not from Youtube, for most of the videos that I tried to download the follow message is displayed:

"Error: try restarting this link (plugin outdated?)"



I already reinstalled Jdownloader2 and ffmpeg, but the problem reoccurs. I suspect that the problem is in ffmpeg, because for the same video the audio and video files are being downloaded up to 100%, however, two separate files are generated with the extension .dashAudio and .dashVideo, as the follow image:

Reply With Quote
  #5712  
Old 16.08.2023, 12:13
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,683
Default

Merged YT threads.

Please post your log-ID here
If your bugreport is about a specific website which JD supports via plugin, please also provide example URLs which can be used to reproduce the issue you are having.

Bitte poste deine Log-ID hier.
Falls dein gemeldetes Problem ein Problem mit einer Webseite ist, die per Plugin unterstützt wird, stelle bitte zusätzlich Testlinks zur Verfügung, mit denen sich dein Problem nachstellen lässt.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #5713  
Old 19.08.2023, 22:41
YNN YNN is offline
Baby Loader
 
Join Date: Jun 2023
Posts: 8
Default

Regarding the multiple audio tracks:


Quote:
Originally Posted by YNN View Post
I got into this again, but again ran out of time.

I see that in the playerresponse data, videos with multiple audio tracks have an audioTrack segment inside the streams returned in adaptiveFormats and inside that is an audioIsDefault line, something like this (chopped up a bit):

Code:
adaptiveFormats=
[
	{
	itag=140,
	mimeType=audio/mp4; codecs="mp4a.40.2",
	...
	audioTrack=
		{
		displayName=Spanish (United States) dubbed,
		id=es-US.3,
		audioIsDefault=false
		}
	}

]

I thought the practical thing might be to add a couple of relevant methods to YoutubeHelper class:
  1. checkForMultipleAudioTracks would take fmtMaps and iterate over all of them to see if there are multiple audio tracks and return a boolean.
  2. Possible inside addYoutubeStreamData another check would be made and the stream would be added only if it's not an audio stream OR there are no multiple tracks OR (there are multiple tracks AND it's a default track).

Like I said, ran out of time to actually get this to work.
Quote:
Originally Posted by pspzockerscene View Post
Just do it and play around with it.

Just keep in mind that I'm currently working on some other YT parser related stuff so there may be conflicts...but I'm not heavily touching that helper class.
As I suspected, since last playing with this almost two months ago, I haven't had the time to work on this anymore and still don't for the foreseeable future.

I did come to the conclusion that the basic change is probably actually simpler than what I suggested above (this is from my notes from back then): Add a check to addYoutubeStreamData which skips the track if it has audioTrack segment AND audioIsDefault=false, just like the other checks which already exist there.

I see I do have some comments mapping out the different maps, hashmaps, etc., but I didn't figure them out completely and how to parse out the relevant data.

I'm not giving up on this, but I don't know when I can get to this, so I would suggest implementing that (hopefully very simple) change without me.


Also, as a side point, wouldn't it be better to split popular hosters like Youtube into their own subforums under the plugins forum? That way, the conversations would be much easier to follow and you wouldn't have to merge threads into this one mega-thread (which in this case currently has more then 5600 posts).
Reply With Quote
  #5714  
Old 20.08.2023, 05:09
enjikari enjikari is offline
Super Loader
 
Join Date: Feb 2018
Posts: 29
Default

Anyone else experiencing Youtube-specific "Account Manager" issues today? I've had to re-verify my YT account 5 times today (export cookie data to clipboard, edit JD2 YT account, paste password, OK). It used to be super rare I'd have to do this, now it's happening multiple times a day? Any ideas?
Reply With Quote
  #5715  
Old 21.08.2023, 04:44
dedman155 dedman155 is offline
Baby Loader
 
Join Date: Apr 2022
Posts: 6
Default youtube playlist packaging has changed

When downloading a youtube playlist, it used to be that each video gets their own package and is added into the linkgrabber in their order in the playlist. However recently I noticed that when adding youtube playlists, all of its contents are placed into one package making the videos alphabetically arranged regardless of its placement in the playlist. How do I set it such that the linkgrabber adds the videos in the playlist in their own package in order like before?

Example Playlist: **External links are only visible to Support Staff****External links are only visible to Support Staff**

EDIT: Nevermind, I figured it out. It's in the plugins menu.

Last edited by dedman155; 21.08.2023 at 04:51.
Reply With Quote
  #5716  
Old 21.08.2023, 13:55
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,683
Default

@YNN
We have our reasons to keep all YT related posts in one thread.

@enjikari
There were no changes on our side.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #5717  
Old 21.08.2023, 13:57
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,683
Default

Merged YT threads.
@dedman155
That change has been announced here:
https://board.jdownloader.org/showth...734#post523734

A setting to go back to the previous behavior exist.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #5718  
Old 22.08.2023, 13:09
enjikari enjikari is offline
Super Loader
 
Join Date: Feb 2018
Posts: 29
Default

Quote:
Originally Posted by enjikari View Post
Anyone else experiencing Youtube-specific "Account Manager" issues today? I've had to re-verify my YT account 5 times today (export cookie data to clipboard, edit JD2 YT account, paste password, OK). It used to be super rare I'd have to do this, now it's happening multiple times a day? Any ideas?
Quote:
Originally Posted by pspzockerscene View Post
@enjikari
There were no changes on our side.
@pspzockerscene Thanks for letting me know.

For everyone else: is anyone else experiencing this issue? Has anyone found a fix/solution/workaround? YouTube account will not stay logged in. Multiple times a day I see he red-dash YT icon on the bottom of JD2 that the Status says "Login cookies expired". I don't close JD2, or my Firefox browser that has YT pulled up, I don't do anything that would cause this - JD2 will be open, just sitting there, and then bam it happens. Several times a day. This only started happening about a week ago, maybe less. I can re-do the login, but like I said it only lasts for a few hours, if that. an anyone help?
Reply With Quote
  #5719  
Old 22.08.2023, 13:21
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,683
Default

The problem seems to be happening with any Google cookies (also drive.google.com in JD) and has already been reported.

The following hint might help:
https://board.jdownloader.org/showth...473#post524473
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #5720  
Old 25.08.2023, 10:47
bohort bohort is offline
JD Adviser
 
Join Date: Jul 2018
Posts: 102
Default Different file sizes depending on the download program

Hi there,
I generally use JDownloader on Youtube, and yt-dlp on others sites.
I've just noted than the size of the files are not the same.
For example, on **External links are only visible to Support Staff**this video, quality 1080p, mp4 video format + aac audio format:
- with JDownloader the final size is 126 367 531 bytes,
- with yt-dlp the final size is 79 239 393 bytes (-32%).
With webm the sizes are closer, but I rather mp4 format.
I don't get the reason to the big difference. Downloading multiple files could generate a large storage need.
Why do I get these differences on the same files ? Is there some config on JDownloader to adapt the final size, that I have not on my side?
thank you for your help.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 18:05.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.