#1
|
|||
|
|||
How to add any direct link with two protocols?
How to add any direct link with two protocols?
JD2-> BUTTON-> [Add New Links] When adding a link, it always splits into two links and analyzes two links. One good and one bad. I tried to add two signs [url] and [\ ur] but this doesn't solve the problem, because it adds [url] to the link |
#2
|
||||
|
||||
Please provide example links.
__________________
FAQ: How to upload a Log |
#3
|
|||
|
|||
Links are private. Direct links are always different. It has to work universally.
But how do I turn off link recognition? I just want to add one link and don't want it to be recognized as plain text. I can't find advanced options. |
#4
|
|||
|
|||
**External links are only visible to Support Staff****External links are only visible to Support Staff**
https://postimg.cc/nXWBdbns |
#5
|
||||
|
||||
Settings -> Advanced Settings -> "Add links pre parser"
... but this might not necessarily solve your issue. Without actually knowing your URLs I will not be able to check this. If in doubt and your URLs are direct-URLs, add ".jdeatme" to the end of them and/or try to add a LinkCrawler Rule. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#6
|
||||
|
||||
@sharkboy: Parser finds all 3 URLs(combined + two single ones). so that's no problem.
You must create/use Linkcrawler rule as the example url isn't supported and doesn't contain any known file extension to be picked up by generic http plugin
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
There would have to be thousands of direct links for different direct link patterns, this is not an easy task. I searched on the forum but couldn't find anything universal.
|
#8
|
|||
|
|||
Why do I have to play with===> ANY<=== direct link editing every time?
Can't really add one download link without complicated procedures? |
#9
|
||||
|
||||
@sharkboy: JDownloader doesn't know that those are direct links because of missing known file extension and no plugin support. Only supported links are processed by JDownloader.
__________________
JD-Dev & Server-Admin |
#10
|
||||
|
||||
Quote:
If those links are direct http ones, then simply append in front Quote:
__________________
JD-Dev & Server-Admin |
#11
|
|||
|
|||
Add quick button "on / off" option without having to edit links in "Add Links"
|
#12
|
||||
|
||||
You don't have to edit anything. JDownloader will find all 3 URLs because it cannot know if the combined url is the correct one, or the first/last URL. All 3 are processed and without directhttp or linkcrawler rule, non will be processed because of missing file extension
__________________
JD-Dev & Server-Admin |
#13
|
|||
|
|||
Sorry, but I'd like to avoid analyzing links for a long time.
|
#14
|
|||
|
|||
LinkgrabberSetting: Add Links Pre Parser
Disabling - solved the problem |
#15
|
||||
|
||||
Doesn't solve the problem because internally JDownloader will still process all 3 links
__________________
JD-Dev & Server-Admin |
#16
|
|||
|
|||
I added a rule so it's okay.
However, what if I encounter other, different links without an extension. Eg I want to download some html page. I don't want to use a text editor every time to add .jdeatme to the end Example: **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#17
|
||||
|
||||
Then use tools designed to download/mirror websites. Or just save the website directly from browser
__________________
JD-Dev & Server-Admin |
#18
|
|||
|
|||
If target files do not have extension then the file mask must end with
Code:
. |
#19
|
|||
|
|||
Quote:
Source for photo link (multi protocol) **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#20
|
||||
|
||||
How about a proper pre-filtering of your links!
Your link is a perfect example that JDownloader cannot know what link/link combination is the right one/the one you are interested in. But still works fine and finds the embedded image link
__________________
JD-Dev & Server-Admin |
#21
|
|||
|
|||
Here it gives 2 links (small + high), and I always like the highest resolution. It can be different with these links, I will try to provide more test links in the future if I run into problems.
**External links are only visible to Support Staff****External links are only visible to Support Staff** |
#22
|
||||
|
||||
You can use REWRITE Linkcrawler Rule to rewrite the URL to parse the rlt_url only.
For this case prefiltering is the best solution as JDownloader cannot know if you are interested in the smaller version or the rlt_url or the yandex link itself
__________________
JD-Dev & Server-Admin |
#23
|
|||
|
|||
"rlt_url" - I am not familiar with this terminology. More details needed.
Google search engine practically does not return any deeper information: Code:
"rlt_url" |
#24
|
||||
|
||||
See your example url, that's the url query parameter that holds the high resolution image in your case
__________________
JD-Dev & Server-Admin |
#25
|
|||
|
|||
There is an application in which the user can view images in Yandex images via webbrowser, and then download the ones they like. Up to this point, a direct link to the image could be obtained as follows:
Code:
urlImage = HD.DocumentNode.SelectSingleNode("//a[@class='MMButton MMButton_type_link MMViewerButtons-OpenImage MMViewerButtons-OpenImage_isOtherSizesEnabled']").GetAttributeValue("href", ""); |
#26
|
|||
|
|||
The application has a function for viewing images from Yandex images via webbrowser and downloading the selected one. I got the link like this:
Code:
1 urlImage = HD.DocumentNode.SelectSingleNode("//a[@class='MMButton MMButton_type_link MMViewerButtons-OpenImage MMViewerButtons-OpenImage_isOtherSizesEnabled']").GetAttributeValue("href", ""); Thought cefsharp would help, but it returns "#" too. Moreover, if you open the developer tools in the same chrome, the link to the image is displayed in the desired class. So, is it possible, through webbrowser or cefsharp, to get me to return the source code of the page with the already existing link to the picture? The ways Code:
var jsResponse = await chromeBrowser.EvaluateScriptAsync(@"document.getElementsByTagName ('html')[0].innerHTML"); if (jsResponse.Success) { string source = jsResponse.Result.ToString(); } Code:
var source = await chromeBrowser.GetSourceAsync(); |
|
|