#1
|
|||
|
|||
links with @ in the url are not sent correctly to decrypter
Hi,
security-links has urls with @ in it. Ex: **External links are only visible to Support Staff****External links are only visible to Support Staff** The decrypter however is stared with the url cut off at @ : ------------------------Thread: 2349:security-links.com_jd.plugins.decrypter.SecurityLinksCom.log----------------------- --ID:2349TS:1500134931350-7/15/17 6:08:51 PM - [jd.controlling.linkcrawler.LinkCrawler(crawl)] -> Crawling: **External links are only visible to Support Staff****External links are only visible to Support Staff** --ID:2349TS:1500134934402-7/15/17 6:08:54 PM - [jd.http.Browser(openRequestConnection)] -> Caller: jd.plugins.decrypter.SecurityLinksCom.decryptIt(SecurityLinksCom.java:42) and obviously doesn't find anything. trunk/src/jd/plugins/decrypter/SecurityLinksCom.java has the following definition: @DecrypterPlugin(revision = "$Revision: 35652 $", interfaceVersion = 2, names = { "security-links.com" }, urls = { "**External links are only visible to Support Staff** }) Adding @ [A-Za-z0-9:;/\\.] will probably solve this problem. Thanks, |
#2
|
||||
|
||||
added couple components.
raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
|||
|
|||
Thanks a lot for the prompt reaction.
In the mean time found another exception: **External links are only visible to Support Staff** It is copied to the clipboard (linux) as **External links are only visible to Support Staff****External links are only visible to Support Staff** This one solves it for me: urls = { "**External links are only visible to Support Staff** }) Obviously % allows to encode any character. Thanks again. |
#4
|
||||
|
||||
think you will find its more so function of the browser to copy url as text or urlencoded.
which website are you sourcing the links from? I could confirm
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#5
|
|||
|
|||
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Links for hoster 1fichier (11 uses { ) Both Firefox (54.0) and Chromium (59.0.3071.109) copy as urlencoded. Firefox shows the link unencoded in the status bar when hovering over the link but "Copy Link Location" will urlencode. Chromium both shows the link urlencoded in the status bar and copies urlencoded to clipboard. Using [A-Za-z0-9:;/\\.@#%{] would cater for both cases if and when other browsers/platforms would not encode while copying to clipboard. |
#6
|
||||
|
||||
html source hrefs are not url encoded, browser encodes them on click/copy due to containing chars which require it.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#7
|
||||
|
||||
ok I've made my changes.
should be good to go! raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#8
|
|||
|
|||
Catalpa avenue
Yep, that works great.
Thanks a lot. Last edited by raztoki; 16.07.2017 at 13:38. Reason: yes. but we will keep that between us. |
#9
|
||||
|
||||
most welcome
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
Thread Tools | |
Display Modes | |
|
|