Code Monkey home page Code Monkey logo

Comments (5)

TobiasBremer09 avatar TobiasBremer09 commented on August 17, 2024

oh zou je niet kunnen zorgen dat hij inplaats van die token gewoon ww leerlingnummer en school vraagt in het script dan denk ik

from magister-scraper.

Gertje823 avatar Gertje823 commented on August 17, 2024

Nadat je je credentials hebt ingevuld in het script zou hij nu automatisch in moeten loggen en de data op moeten halen.

from magister-scraper.

TobiasBremer09 avatar TobiasBremer09 commented on August 17, 2024

ik krijg deze error:

Logging in to Magister...
c:\Users\tobia\OneDrive - GSG Guido\LAT\Magister maar dan beter\Test1\magister scraper.py:36: DeprecationWarning: There is no current event loop
asyncio.get_event_loop().run_until_complete(main())
Traceback (most recent call last):
File "c:\Users\tobia\OneDrive - GSG Guido\LAT\Magister maar dan beter\Test1\magister scraper.py", line 36, in
asyncio.get_event_loop().run_until_complete(main())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "c:\Users\tobia\OneDrive - GSG Guido\LAT\Magister maar dan beter\Test1\magister scraper.py", line 15, in main
browser = await launch({"headless": True, "args": ["--start-maximized"]})
File "C:\Users\tobia\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyppeteer\launcher.py", line 307, in launch
return await Launcher(options, **kwargs).launch()
File "C:\Users\tobia\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyppeteer\launcher.py", line 148, in launch
self.proc = subprocess.Popen( # type: ignore
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 14001] De toepassing kan niet worden gestart omdat de configuratie naast elkaar onjuist is. Raadpleeg het gebeurtenislogboek Toepassing of gebruik het opdrachtregelprogramma sxstrace.exe voor meer informatie

from magister-scraper.

Gertje823 avatar Gertje823 commented on August 17, 2024

Heb je toevallig python geïnstalleerd vanuit de Windows store? Dat lijkt wel vaker voor problemen te zorgen met Pyppeteer.
Kan je proberen om deze versie van python te verwijderen en de installer vanaf de officiële python site te downloaden en installeren?

from magister-scraper.

TobiasBremer09 avatar TobiasBremer09 commented on August 17, 2024

ik ga het proberen

from magister-scraper.

Related Issues (3)

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.