Last active
August 22, 2024 12:35
-
-
Save kubrick06010/60187bdcde7bf93574613e96a60ad028 to your computer and use it in GitHub Desktop.
one liner para ver el precio del dólar paralelo :(
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python -c "import requests; print({key: value for key, value in requests.post('https://dolartoday.com/wp-admin/admin-ajax.php', data={'action': 'dt_currency_calculator_handler', 'amount': '1'}).json().items()})" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ya no existe el repositorio en amazon.
Conocerás otro repositorio de donde obtener el dato?
@siberiaaa puedes intentar haciendo un post como el que pongo:
curl -X POST -d "action=dt_currency_calculator_handler&amount=10" https://dolartoday.com/wp-admin/admin-ajax.php
Dejo un script en python que hace la misma función.
Ya no existe el repositorio en amazon.
Conocerás otro repositorio de donde obtener el dato?
Puedes usar mi repo: https://github.com/jesussuarz/DolarToday_PHP
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ya no existe el repositorio en amazon.