omersideman / go-viral

Using AI to predict whether new music will go viral on social media.
0 stars 1 forks source link

Data collection #1

Open omersideman opened 1 year ago

omersideman commented 1 year ago
omersideman commented 1 year ago

update - scraped 6000 songs (30 pages) from chartex, which include numbrer of tiktoks made using the song, the number of likes, spotify links and more. The least popular songs (bottom of the list) have around 150,000 t iktoks, but we can scrape more if necessary. For reference - how i scraped pages:

  1. Open the page in Google Chrome
  2. Then go to console ; right click and enable LogXMLHttpRequests.
  3. Now reload the page and scroll slowly. When new products are populated, you will see different URLs
  4. Left click on that URL and it will be highlighted in the Network tab of the Chrome dev tools. From there you can see the json content in the "response" tab and copy it over.