rhadamanthe / host-grabber-pp

A web extension, originally designed for Firefox, to find and download media files from various hosts.
MIT License
16 stars 6 forks source link

Path patterns should also consider direct images #61

Closed rhadamanthe closed 5 years ago

rhadamanthe commented 5 years ago

Currently, only links are considered. There are some hosts where direct images should be considered. There should be a property in the dictyionary to specify whether it is supported or not.

Gallery web sites should not benefit from it. Otherwise, thumbnails will be downloaded as well.

rhadamanthe commented 5 years ago

XH will have better performances with this. Besides, what is downloaded by IHG and what is displayed in Firefox sources is different. Js must modify the original HTML document. Firefox displays links, but it initially loads img elements.

rhadamanthe commented 5 years ago

We do not need this. Using _$CURRENT_ as path pattern and an expreg in the search pattern is enough.