arthurdejong / python-stdnum

A Python library to provide functions to handle, parse and validate standard numbers.
https://arthurdejong.org/python-stdnum/
GNU Lesser General Public License v2.1
498 stars 206 forks source link

Change DGII URL and Validation #165

Closed jeffryjdelarosa closed 4 years ago

jeffryjdelarosa commented 4 years ago

DGII has changed their URL to validate, so with first take by BeautifulSoup EVENTVALIDATION and VIEWSTATE and then apply to make the post and the validation.

arthurdejong commented 4 years ago

Hi Jeffry,

Thanks for the improvement. The weird thing is that, with the old code, the tests still pass and things still appear to work.

Anyway, I've merged your change with minor changes as ac50afa.

jeffryjdelarosa commented 4 years ago

Yes, they restored back their server, we had 3 days without connections, but this minor changes, will first find the tokens, because their new server changes both tokens. Thank you so much.

In the other hands @arthurdejong we @gustavovalverde need a new update on the official python-stdnun package or maybe a new version, of course if you can help us with it.

Thanks you so much.

arthurdejong commented 4 years ago

I plan on making a new release soon but it depends a bit on the time I have available.

arthurdejong commented 4 years ago

Hi @jeffryjdelarosa a 1.12 release of python-stdnum was just made.

jeffryjdelarosa commented 4 years ago

@arthurdejong Thanks you so much, @gustavovalverde