themaLeecher
http://leecher.themasoftware.com/forum/

Remove a clickable link from message.
http://leecher.themasoftware.com/forum/viewtopic.php?f=4&t=6219
Page 1 of 1

Author:  flaiho [ March 22nd, 2016, 1:27 am ]
Post subject:  Remove a clickable link from message.

what i must add to "remove elements"


<a href="http://anysite.com">text</a>

i added the a element but message leech bad

a tried a href etc.. can you help me?

Author:  Freddy [ March 22nd, 2016, 10:45 am ]
Post subject:  Re: remove a clickable link from message

The tag name is "a" (not href - it's just an attribute).

But adding "a" to remove elements will remove all clickable links (image links, download links, IMDB links, etc.).

If you don't need just some hosts, you could added those hosts to banned hosts in "HOSTS" tab.

Author:  flaiho [ March 22nd, 2016, 9:47 pm ]
Post subject:  Re: Remove a clickable link from message.

ok thank you.

i have another question.

on a web i want to leech theres some selector for an especific thing but each thing has hiw own id but very similar.


example:

selectorname_15787 then selectorname_15788 selectorname_15789

i added the base selectorname_ but not works, any ideas to work with this?


original selector lookslike
Code:
<td id="selector_15787" colspan="3">

Author:  Freddy [ March 22nd, 2016, 10:53 pm ]
Post subject:  Re: Remove a clickable link from message.

In that case it should be like this:

Code:
td[id^=name_]


^= means "starts with".

This information can be found here: http://jsoup.org/apidocs/org/jsoup/select/Selector.html (this link is also mentioned in FAQ).

http://leecher.freddy.lt/faq.php?expand=faq206

Author:  flaiho [ March 23rd, 2016, 12:15 am ]
Post subject:  Re: Remove a clickable link from message.

yes i've read but honestly im not understand much of that.

your code didnt work maybe cause the data i want to leech is in this format and i must click a link show the content (it expands, doesnt reload the page)

Code:
<a id="Button2282169" href="#2282169" onclick="togglecontent('2282169'); return false;">show here</a>

Author:  Freddy [ March 23rd, 2016, 9:41 am ]
Post subject:  Re: Remove a clickable link from message.

I will need post URL to take a look.

Author:  flaiho [ March 24th, 2016, 1:46 am ]
Post subject:  Re: Remove a clickable link from message.

lyrics tab

Code:
http://goo.gl/Pgndk858

Author:  Freddy [ March 24th, 2016, 11:39 pm ]
Post subject:  Re: Remove a clickable link from message.

They are loaded externally. When you press on "Show" button there it makes request to totally different page which loads the lyrics.

There are websites where it's not really hidden and are not loaded externally, then it works fine.

In this case it won't work.

Author:  flaiho [ March 25th, 2016, 4:52 am ]
Post subject:  Re: Remove a clickable link from message.

oks, i got more sources anyways xD

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/