Code Monkey home page Code Monkey logo

Comments (6)

imthisguymike avatar imthisguymike commented on May 27, 2024

Also when accessing https://service.tesla.com/docs/Model3/ServiceManual/en-us/index.html after logging in (I have a Model 3) I get this:
Screen Shot 2022-05-23 at 18 29 40

And on the service page it redirects to I only see these options:
Screen Shot 2022-05-23 at 18 31 05

from teslaservicemanualscraper.

AnsonLai avatar AnsonLai commented on May 27, 2024

I've been scraping it for a while and only saw the recaptcha box once, so I assumed you had to be pretty aggregious to see it. I inputted a login delay variable to intercept manually if it happens.

Also, that same error appeared before I started using selenium stealth (they won't let obvious bots login).

from teslaservicemanualscraper.

AnsonLai avatar AnsonLai commented on May 27, 2024

For the second issue, you actually need to claim the free service manuals first.

https://service.tesla.com/service-subscription

from teslaservicemanualscraper.

imthisguymike avatar imthisguymike commented on May 27, 2024

Now I am getting this after refreshing your code:

C:\Users\Bond\TeslaServiceManualScraper>py scrape.py
Traceback (most recent call last):
  File "C:\Users\Bond\TeslaServiceManualScraper\scrape.py", line 10, in <module>
    from secrets import tesla_login
  File "C:\Users\Bond\TeslaServiceManualScraper\secrets.py", line 3, in <module>
    from scrape import login_delay
  File "C:\Users\Bond\TeslaServiceManualScraper\scrape.py", line 10, in <module>
    from secrets import tesla_login
ImportError: cannot import name 'tesla_login' from partially initialized module 'secrets' (most likely due to a circular import) (C:\Users\Bond\TeslaServiceManualScraper\secrets.py)

and with secrets.py

C:\Users\Bond\TeslaServiceManualScraper>py secrets.py
Traceback (most recent call last):
  File "C:\Users\Bond\TeslaServiceManualScraper\secrets.py", line 3, in <module>
    from scrape import login_delay
  File "C:\Users\Bond\TeslaServiceManualScraper\scrape.py", line 10, in <module>
    from secrets import tesla_login
  File "C:\Users\Bond\TeslaServiceManualScraper\secrets.py", line 3, in <module>
    from scrape import login_delay
ImportError: cannot import name 'login_delay' from partially initialized module 'scrape' (most likely due to a circular import) (C:\Users\Bond\TeslaServiceManualScraper\scrape.py)

from teslaservicemanualscraper.

AnsonLai avatar AnsonLai commented on May 27, 2024

Fixed!

from teslaservicemanualscraper.

imthisguymike avatar imthisguymike commented on May 27, 2024

Confirmed, it is working fine now! Thanks!

from teslaservicemanualscraper.

Related Issues (10)

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.