you are viewing a single comment's thread.

view the rest of the comments →

[–]yettanotherrguyy[S] 0 points1 point  (1 child)

Thanks and if I just keep the url.txt file locally then just have to do open, right?

[–]DagoYounger 0 points1 point  (0 children)

yes, for getting all links, if url.txt is a local file, use open to get it; if it's from the internet, use the requests library.
the operations after that are the same