The phones with those features have been discontinued but they were never unpopular, they were just what phones were.
Nobody 10 years ago was saying “I wish I couldn’t replace my phone battery” or “I hate that I have the option to plug my wired IEMs into my phone”
People just do what people are good at. Adapting.
Manufacturers have taken these options away because it is profitable to do so. People have largely adapted to that (although I still refuse to buy a phone without a headphone jack)
I have quite an extensive history of scraping web sites for various data over the years, I’d be happy to help you out but I can’t really know how to help without knowing what website your trying to scrape, different sites have their own challenges (maybe behind a login, or using JavaScript to load content - in which case a http response won’t give you what you’re after, or any number of things really).
If you give me a link to a book you want to download as an example I can take a look and help guide you through it