Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list of pages to grab the links #2

Closed
ghost opened this issue Nov 1, 2019 · 2 comments
Closed

list of pages to grab the links #2

ghost opened this issue Nov 1, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 1, 2019

@ihebski how to use a list of pages and grab the links of all of them?

@ihebski
Copy link
Owner

ihebski commented Nov 1, 2019

List of pages are currently not supported (single page by default), however, Linux bash can do it for you if you have the pages offline
grep -o '<a href=".*">' *.html | sed 's/\(<a href="\|\">\)//g' > link.txt;

PS : The code will be fixed soon.
Thank you for reporting the issue.

@ghost
Copy link
Author

ghost commented Nov 1, 2019

What about if I dont have them offline.
What I have is a .txt file containing a list of addresses, inwhich I want to scrape each one for links within.

@ghost ghost closed this as completed Mar 6, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant