matteocontrini / node-bypasser

Bypass URL shortener websites
MIT License
34 stars 26 forks source link

Nested/chain short link bypass #15

Closed thangngoc89 closed 9 years ago

thangngoc89 commented 9 years ago

Some service like linkbucks.com provided a tons of domains for their users. image But all of them only a 301 redirection to the main domains (linkbucks.com and eafyfsuh.net)

It would be great if we can use generic service to solve the redirection and then use the linkbucks.com service to get the link.

Any suggestion how to get this @matteocontrini ?

matteocontrini commented 9 years ago

findService could be called again after following the link, at this line. If the newly found service is different from the old one, run again.

thangngoc89 commented 9 years ago

There is no data return at that line. How can I check for it ?

matteocontrini commented 9 years ago

Replace callback with an anonymous function and inside it call the callback after the appropriate checks. Tell me if you don't understand and I can try that.

thangngoc89 commented 9 years ago

Yeah. Could you help me at that? I came from PHP world.

matteocontrini commented 9 years ago

b2024067860e9d7cc7c76ae1a676e83db51e9bb0

Build is failing because of services' server issues... Limited concurrent jobs to 1 on Travis.