-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kilka liczników na jednym koncie #5
Comments
Przepraszam, błędnie zamieściłem komentarz - nie do tego skryptu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Skrypt poprawnie działa gdy do konta tauronu przypisany jest tylko 1 licznik - domyślnie brany jest pierwszy zarejestrowany. W przypadku posiadania kilku należy po zalogowaniu wysłać request z przypisaniem do sesji identyfikatora licznika który nas interesuje:
self.session.post(
"https://elicznik.tauron-dystrybucja.pl/ustaw_punkt",
data={
"site[client]": "XXXXXXXX_YYYYYYYY_ZZZZZZZ"
},
)
"XXXXXXXX_YYYYYYYY_ZZZZZZZ" - identyfikator licznika
The text was updated successfully, but these errors were encountered: