Coinmarketcap scraping

Describe the problem.
Hello guys I am new to web scraping and I want to scrape top 10 crypto information like market cap, volume tags and all how should I start and what should I use because what I have noticed so far is the xpath and other selectors keeps changing and sometimes website opened in mobile version. So I am confused how to tackle the problem.

I am new to this and ready to learn new stuff to solve this problem let me know your thoughts if you have any experience in it .

I really appreciate your reply,
Thank you.

Yes I know the basic scraping

And on further investigation about the website I think Its a mix of dynamic content and api end points… most of data is coming through api