[Solved] How to get a link with web scraping
In the future, provide some code to show what you have attempted. I have expanded on Fabix answer. The following code gets the Youtube link, song name, and artist for all 20 pages on the source website. from bs4 import BeautifulSoup import requests master_url=”https://www.last.fm/tag/rock/tracks?page={}” headers = { “User-Agent”: “Mozilla/5.0 (iPhone; CPU iPhone OS 5_1 like … Read more