skip to Main Content

Ebay API – How to get around 'NoneType' object has no attribute 'text'

I'm working on an eBay Scraper, and I'm having some trouble with a simple "AttributeError: 'NoneType' object has no attribute 'text'"... Here is my code url = 'https://www.ebay.com/sch/i.html?_from=R40&_nkw=2017+patrick+mahomes+psa+10+auto&_sacat=0&rt=nc&LH_Sold=1&LH_Complete=1&_ipg=100' def get_data(url): r = requests.get(url) soup = bs(r.text, 'html.parser') return soup def…

VIEW QUESTION

Redis – Ratelimit in Fastapi

How to ratelimit API endpoint request in Fastapi application ? I need to ratelimit API call 5 request per second per user and exceeding that limit blocks that particular user for 60 seconds. In main.py def get_application() -> FastAPI: application…

VIEW QUESTION

Python Selenium won't select all image tags – SEO

I am trying to crawl Product Hunt using Selenium More specifically I am trying to get the source link for all the icons of the products. HTML: My code for crawling is the following: driver = webdriver.Chrome("<Your driver's path>") driver.get("https://www.producthunt.com/topics/seo-tools?order=most-upvoted")…

VIEW QUESTION
Back To Top
Search