Relative Content

Tag Archive for pythonweb-scraping

How to scrape eBay fields like condition, size, model, year, etc.?

I’m a very new coder, and I’m using Collab and Python. I’m trying to scrape eBay for information on products, primarily sneakers. I want to scrape the fields on the listings and need the code to return the size, condition, model, year, authenticity guarantee (from eBay), and more. I’ve tried checking the APIs that eBay calls when the page is refreshed, but (I think) they encrypt the information. I’m on Google Collab right now running Python. enter image description here

Web Scraping 2nd Table Player Stats from FBRef?

Was hoping for help here. I’m trying to web scrape this second table of player goal and shot creation stats on FB Ref for the MLS, but my script is bringing in the first table of team statistics instead. Can someone help? Code below.

unable to do Web Scraping of MyNeta website

I’m trying to scrape the data from MyNeta, I want to specifically scrape the data of the table provided by MyNeta. I’m able to scrape only the headers of the table but unable to scrape information of the table.

Why is my five letter word scraper returning a TypeError: ‘NoneType’ object is not iterable

import requests from bs4 import BeautifulSoup import cloudscraper from pathlib import Path def fiveLetterWordScrapper(): pageNum = 1 while pageNum != 51: scraper = cloudscraper.CloudScraper() page = scraper.get(‘https://www.thewordfinder.com/wordlist/5-letter-words/?dir=ascending&field=word&pg=’ + str(pageNum) + ‘&size=5’) soup = BeautifulSoup(page.content, ‘html.parser’) findWords = soup.find(‘ul’, class_ = ‘clearfix’) arrWordList = [x.get_text().strip()[0:5] for x in findWords if any(x.get_text().strip())]# the line that gives the […]