deadlink icon indicating copy to clipboard operation
deadlink copied to clipboard

how to use this package without the cli, inside a python script ?

Open crsegerie opened this issue 4 years ago • 6 comments

Hello, I would like to use this package inside a script. But I cannot find any example. Could you add one exmaple on the home page ?

best

crsegerie avatar Oct 03 '21 15:10 crsegerie

What exactly are you looking for?

nschloe avatar Oct 03 '21 21:10 nschloe

Closing for lack of response.

nschloe avatar Nov 23 '21 09:11 nschloe

Sorry for the lack of response. My point was that I would like to use your library inside a python .py file in order to then use the results in python lists.

crsegerie avatar Nov 23 '21 18:11 crsegerie

What functionality would you expect, what function signature?

nschloe avatar Nov 23 '21 19:11 nschloe

Something like that:

def deadlink_checker(urls : List[str], **kwargs) -> List[bool]

crsegerie avatar Nov 25 '21 19:11 crsegerie

What does the return bool say? Specifically, what about redirects?

nschloe avatar Nov 26 '21 09:11 nschloe