r/AskProgramming • u/Varel172001 • Apr 27 '26
Career/Edu Just started an Internship as a data analyst and been given a task
Some bit of context : I just started an internship at a startup in Wales and been given a task. I don't know much of python (I've only used it during my master's degree in Cosmology for data analysis from space satellites). The task is , I've been given an excel sheet of products and MPN,SKUs and I need to find specifications of each of these products like dimensions , weight , shipping info , speaker count , impedance , wattage etc etc. (Basically every bit of information from the product page URLs. The thing is , I don't have these product page URLs and it's what I have to scrape for first and then somehow extract all these details from it. How do I go about this? I've been using serpapi and getting somewhere but the links aren't very accurate for some of them.
3
u/bonir_hunter Apr 27 '26
Which part are you stuck on? Crawling/scraping/analyzing?
24
u/LARRY_Xilo Apr 27 '26
You ask the people at your internship for help. Thats why you are doing an internship.
4
u/dbForge_Studio Apr 27 '26
For 15k products, I wouldn’t do this fully by hand. I’d first make a small sample, like 50–100 products, and manually check what info is actually visible on the pages. Then build around that.
Also don’t try to scrape “everything” at once. Make a clean list of fields first: name, dimensions, weight, shipping info, speaker count, impedance, wattage, product URL.
Then test one site, one product type, one field. A lot of product pages are messy, so you’ll probably need rules per site/page layout. Starting with the perfect scraper will just make you suffer professionally.
1
u/dottie_dott Apr 27 '26
I mean first check that there is not open api for that product site because I know that some of them do have that, and they have documentation.
Start there and then look at scraping processes
1
u/Jabba25 Apr 28 '26
Ask the others at work. In the absence of any other info, I'd probably be looking at using Scrapy in python
0
u/YMK1234 Apr 27 '26
Considering the list is probably not hundreds of entries long: by hand.
-3
u/Llit2 Apr 27 '26
Gpt + Codex your best friends