Closed chikenlegg closed 8 years ago
Assuming due to an update in CL. All that was needed was an extra '/' in rsplit.
!OLD site = a.attrs['href'].rsplit('/', 1)[1].split('.')[0]
!NEW site = a.attrs['href'].rsplit('//', 1)[1].split('.')[0]
Works now :)
Thanks for pointing that out! Would you be interested in doing the change in a fork and opening a pull request? If not, I'll do the change as soon as possible.
Fixed in #7
Assuming due to an update in CL. All that was needed was an extra '/' in rsplit.
!OLD site = a.attrs['href'].rsplit('/', 1)[1].split('.')[0]
!NEW site = a.attrs['href'].rsplit('//', 1)[1].split('.')[0]
Works now :)