#1
|
|||
|
|||
Packagizer settings for href tag
Hello I am looking to find out the best method to download a series of video files from a web page. The issue is all of the links are called main.mp4
This results in lots of videos with the same name and extension making it very hard to know what each video is. On the original page the Name of the package is wrapped in a class called title. Then each video is named by using the display name of the herf tag here is a quick example Code:
<center> <p class="title">Name of Package</p> </center> <span>03 - <a href="**External links are only visible to Support Staff** class="download_link">This is the name of the video</a></span> I am sure there is a cleaner way of doing it so I was reaching out to find what else I could do. Thanks for your help. |
#2
|
||||
|
||||
@LuckyMore: Packagizer does not have any access to html at all and also there is no reference between link and html. JDownloader does not know anything about a DOM.
__________________
JD-Dev & Server-Admin |
#3
|
||||
|
||||
Quote:
As an alternative you can write/use a script for Eventscripter that listens on those URLs of the sites you want to crawl/download and act like a self written plugin that searches for links and sets names. Please see https://board.jdownloader.org/showthread.php?t=70525 . Ask in thread for hint/help
__________________
JD-Dev & Server-Admin |
#4
|
|||
|
|||
Thanks for the ideas and explaining what JDownloader has access to. I did end up writing a python script for the scraping but yes would be nice to do it all in JDownloader. I will take a look at Eventscripter.
|
#5
|
||||
|
||||
In case of questions/need help, just ask
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|