I want to web scraping from website their product price and name using python and only using beautifulsoup,requests and json modules

i tried web scraping like this. I want to get price and name from product in the website. and I dont know how to extract specific script include ""product details jason inline script.""<script type="application/ld+json>" so extract all jason inline script data using beautfulsoup and I Assign it to script. and i tried to many ways… Read More I want to web scraping from website their product price and name using python and only using beautifulsoup,requests and json modules

How to res.sendFile whilst res.rendering an HTML that uses the sent file in Express.js?

I am trying to create a file server that use node.js and Express. I have the system currently set up so that each user has a file directory. I currently have it set so that the whole file system is hosted using app.use(express.static(testFolder)); The problem with this approach is that anyone could view anyones files… Read More How to res.sendFile whilst res.rendering an HTML that uses the sent file in Express.js?