#1
|
|||
|
|||
![]()
Hi,
Can we get a support for topvid.tv? **External links are only visible to Support Staff****External links are only visible to Support Staff** Thank you |
#2
|
||||
|
||||
![]()
__________________
JD-Dev & Server-Admin |
#3
|
||||
|
||||
![]()
I do not really see the need to add a plugin for this website.
Please use this method: https://support.jdownloader.org/know...aming-websites So far, only one user (you) have asked for a plugin for that website -> I do not see the demand.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#4
|
|||
|
|||
![]() Quote:
That said, I don’t mind continuing to use the current method. |
#5
|
||||
|
||||
![]()
If more users let us know about their demand in this thread, I'm willing to add a plugin for this website but at this moment I do not see the demand at all.
This thread will remain open for future posts of other users.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#6
|
|||
|
|||
![]()
I'm able to create a LinkCrawler Rule to get the video and set up the filename using Packagizer. However, it's not handling duplicate links—duplicate links are not being rejected.
Could you please help me figure out what I did wrong? Here's my LinkCrawler Rule Code:
[ { "cookies": null, "deepPattern": null, "formPattern": null, "headers": null, "id": 1743148046497, "maxDecryptDepth": 1, "name": "Rule for Topvid", "packageNamePattern": "<h1 class=\"movie-detail-name\">\\s*(.*?)\\s*</h1>", "passwordPattern": null, "pattern": "**External links are only visible to Support Staff**, "propertyPatterns": null, "rewriteReplaceWith": null, "rule": "DEEPDECRYPT", "enabled": true, "logging": false, "updateCookies": true } ] |
#7
|
||||
|
||||
![]()
LinkCrawler Rules have no influence on any kind of duplicate detection.
Explain your problem in more details and also compare the links that are "not being detected as duplicates": Are they the same or do they change every time you re-add the link? Some websites put time based tokens into their links so the links will be different each time they are re-obtained.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#8
|
|||
|
|||
![]()
I checked with Video DownloadHelper, and yes, I can confirm that the URL changes with every load.
So, does duplicate detection work based on the actual download URL? I initially thought it was based on the "Download from" field. Is there any way to configure it to detect duplicates based on the "Download from" field instead? |
#9
|
||||
|
||||
![]() Quote:
It depends on multiple factors, some weaker some stringer. If for example a plugin sets a pre-known files' MD5 hash, that will be used for duplicate checking since that is very strong. In your case the URLs are handled by the generic plugin and all that has is a link and a file name (not even a precise file size). Quote:
Use an EventScripter script that sets the source URL as property "LINKDUPEID" on the DownloadLink item. You _could_ also set an md5 hash on the item and at the same time disable CRC hash checking, that should allow the duplicate/mirror checks to work with it. EventScripter subforum: https://board.jdownloader.org/forumdisplay.php?f=52 EventScripter help article: https://support.jdownloader.org/know...event-scripter
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#10
|
|||
|
|||
![]()
This works great. Thank you
|
#11
|
||||
|
||||
![]()
Thanks for your feedback!
You may want to post your script here so other users can make use of it too ![]()
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#12
|
|||
|
|||
![]()
Sure. This is what I come up with
Code:
// Handle duplicate for topvid URLs // Trigger Required: A new link has been added var myPackagizerLink = link; var url = myPackagizerLink.getProperty("URL_CONTAINER"); if (url !== null && url.includes("topvid.tv")) { myPackagizerLink.setProperty("LINKDUPEID", url); } |
#13
|
||||
|
||||
![]()
Simple but effective I guess.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
![]() |
Thread Tools | |
Display Modes | |
|
|