Giter Club home page Giter Club logo

Comments (3)

Swebbee avatar Swebbee commented on July 28, 2024

Tried it again just now with a slightly different result.
rpscrape]> 11 2010-2020 jumps
Traceback (most recent call last):
File "C:\Users\Swebby\rpscrape\scripts\rpscrape.py", line 149, in
main()
File "C:\Users\Swebby\rpscrape\scripts\rpscrape.py", line 145, in main
scrape_races(races, args['folder_name'], args['file_name'], args['type'])
File "C:\Users\Swebby\rpscrape\scripts\rpscrape.py", line 93, in scrape_races
race = Race(doc, code, settings.fields)
File "C:\Users\Swebby\rpscrape\scripts\utils\race.py", line 32, in init
self.race_info['course'] = self.get_course(url_split[5])
File "C:\Users\Swebby\rpscrape\scripts\utils\race.py", line 297, in get_course
course = self.doc.xpath("//a[contains(@Class, 'rp-raceTimeCourseName__name')]/text()")[0].strip()
AttributeError: 'NoneType' object has no attribute 'xpath'

from rpscrape.

gbettle avatar gbettle commented on July 28, 2024

Lately, RP have tightened up their servers and will throttle \ ban your IP if it thinks you are having a laugh. Clear your pc, restart it and then your router, use a vpn, etc. etc.

PM me, I might be able to find 2010-2020 for you.

from rpscrape.

joenano avatar joenano commented on July 28, 2024

Pretty much every error right now is going to be 403 responses. I am going to try changing back to synchronous requests as its possible they might just be blocking rapid fire.

from rpscrape.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.