#1
|
|||
|
|||
Markdown "\" escapes in URLs
Some sites use Markdown (spec.commonmark.org/0.29/), which inserts \ escape characters in URLs. For example,
mega.nz/#!example_escape becomes mega.nz/#!example\_escape (Real example: **External links are only visible to Support Staff****External links are only visible to Support Staff**) In this case, it's probably safe to blindly replace \_ with _, assuming that mega doesn't use \. I'm not sure what the best general solution is. Maybe add a linkcrawler option? Last edited by Luke M; 28.01.2020 at 16:53. |
#2
|
||||
|
||||
I don't see any issue here as I can simply add your URL via deep crawler without having to replace anything.
If you want JD to automatically pickup all URLs of this website you can simply create a link crawler rule for this website. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
Are you sure? There are two mega links on that page, one is OK (no \).
I'm using DEEPDECRYPT mode. Also does not work via clipboard (note: turn off javascript). Last edited by Luke M; 29.01.2020 at 20:17. |
#4
|
||||
|
||||
Quote:
I mean LinkGrabber --> Add New Links --> Continue When I do this, I get a lot of irrelevant URLs but among those are also two MEGA URLs, one with a filesize of 401MiB and one with 449MiB. JDownloader will by default only accept clipboard contents of websites for which we either have plugins for or direct-URLs which e.g. end with ".rar" or ".jpg". Your website matches none of these cases. If you want JD to automatically scan your site for URLs when you copy that URL you will have to make a link crawler rule for that (see forum search). -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#5
|
|||
|
|||
I was using a linkcrawler rule, but manually entering the URL into linkcrawler gives the same result: "unknownFilename". (Somehow it does have a correct file size).
The link with the \ in it really works for you? Forget about link crawling, just copy it to the clipboard: **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#6
|
||||
|
||||
No it doesn't.
Sorry I've not watched the online status but only looked at the filesize - my bad! This is indeed an edge-case which is not possible via current linkcrawler rule. Linkcrawler rules can also be used to e.g. modify URLs but plugins always have the highest priority which means MEGA URLs will be handled by our plugin before they would even get the chance to go through a linkcrawler rule. I just found out that we even have a ticket for that: See also THIS thread. So what you could do is: - Check if this is possible via EventScripter script - Write your own plugin - Write some script which auto-fixes such MEGA URLs whenever you copy them and then copies them in your clipboard again ... this would be my ideas so far. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
Thread Tools | |
Display Modes | |
|
|