4 ms·
Wow! Awesome links. Is there a way to get a bulleted list of all links/articles/posts mentioned in this thread?
by Brajeshwar 5y ago
Wow! Awesome links. Is there a way to get a bulleted list of all links/articles/posts mentioned in this thread?
- kamaraju 5y agoYou can use my python script [1] to get a list of urls. For example get_urls.py "https://news.ycombinator.com/item?id=28232165&p=2 https://news.ycombinator.com/item?id=28232165&p=2" [1] - https://github.com/KamarajuKusumanchi/rutils/blob/master/python3/get_urls.py https://github.com/KamarajuKusumanchi/rutils/blob/master/pyt...
- tomcooks 5y agoIf I were you I'd investigate how you can get the source of this page (for example with a beautiful soup python script) and filter out http* links (for example with python re library) and how to save them somewhere like a flat file (python file operations) or sage this page as linkstocheckout.html and in a terminal try filtering out urls with grep: ``` grep -Eoi '<a [^>]+>' linkstocheckout.html | grep -Eo 'href="[^\"]+"' | grep -Eo '(http|https)://[^/"]+' ```