JDownloader Community - Appwork GmbH
 

Go Back   JDownloader Community - Appwork GmbH > Deutscher Support > Allgemeine Diskussion
Reply
 
Thread Tools Display Modes
  #1  
Old 23.05.2020, 15:31
Cipha Cipha is offline
I will play nice!
 
Join Date: May 2020
Posts: 9
Default Frage zu Filter ähnlicher Dateien

Hallo!

Folgendes Szenario:
Ich bekomme immer wieder von einer Firma Links zu Dateien in verschiedenen Auflösungen (Textdatei mit hunderten Links). Diese würde ich gerne im Linksammer automatisch filtern.
Der Aufbau ist immer:
Dateiname1.720p.mp4
Dateiname1.1080p.mp4
Dateiname2.720p.mp4
Dateiname2.1080p.mp4

Der Hoster ist immer identich.

Wie schaffe ich es nun, dass der Linksammler nur die 1080p Versionen behält?

Danke im Voraus!
Reply With Quote
  #2  
Old 23.05.2020, 16:13
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

either in external program using regular expressions
else create a linkgrabber filter > filter rule, filename contains 720p.
include a condition for downloadurl if you only want to block from that domain and still be able to download 720p videos from other providers.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 23.05.2020, 17:12
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,117
Default

Hi Cipha,

um Raztokis Antwort mal zu übersetzen:
Du hast folgende Möglichkeiten:
Entweder du verwendest ein externes Programm (Texteditor, zB Notepad++) und reguläre Ausdrücke oder siehe Einstellungen --> Linkfilter --> Filter mit den entsprechenden Bedingungen anlegen.

Grüße, 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
  #4  
Old 23.05.2020, 19:13
Cipha Cipha is offline
I will play nice!
 
Join Date: May 2020
Posts: 9
Default

Danke für die schnelle Antwort,
das klappt soweit

Nun ist mir aber aufgefallen, dass in 2 Listen manchmal auch nur 720p Versionen einer Datei enthalten sind

Eine if Abfrage ist nicht möglich, oder?.
Also
if 1080p exist then skip 720p oder sowas in der Art...
Reply With Quote
  #5  
Old 24.05.2020, 03:11
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

@Cipha
some of our plugins have code to add 'best' which will compare available qualities (for example youtube. see: settings > plugins > youtube) and only return one link from your user preferred selection.

if your doing this outside of a supported plugin without these setting the only solution I can think of is using event scripter and scanning the package for multiple entries with the same filename but different p quality, and then removing the lowest.

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #6  
Old 25.05.2020, 14:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,561
Default

Der Paketverwalter hat keinerlei Kenntnisse/Zugriff auf andere Links. Hier würde ich dir eher zu einem Script via Eventscripter raten, der dann zb auf Knopfdruck deine gewünschte Logik durchführt. zb LinkX1080 vorhanden, dann lösche alle LinkX720 oder so.
Siehe https://board.jdownloader.org/showthread.php?t=70525
Du kannst diesen Vorgang auch automatisieren via Eventscripter und zb nachdem alle Links durchwandert wurden ausführen lassen.
Hier am besten direkt im jeweiligen Thread um Rat/Hilfe fragen
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply


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 11:24.
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.