My brother in law has a "habit" of going to jail. All. The. Time. My wife wants to know when it happens, so I setup a script to poll the local jail inmate rosters, and send me an email when his name shows up. It works pretty well.
https://www.reddit.com/r/Python/comments/308ucq/how_do_you_u...
I'm using python 3, selenium, and SQLAlchemy connected to a home MySQL server.
EDIT: Sorry, I can see that it says it right there in your post: Selenium. Leaving up my stupid question as a marker of shame.
My tip for others trying the same is to look into your bank's mobile site, if they have one. Mine was much simpler to parse, I only needed a single XPath expression to extract the number.
Also, if your bank's site is AJAX-y, look into the network tab of your browser, chances are you can find an URL that sends you a nice JSON back with the data you need.
Using Python 2.7, BeautifulSoup, XLSXWriter, Fuzzy Fuzzy. As a Python newbie, the hardest thing was working out how to even pick a version and an environment to start building on.
You can read more about it and see the python code here: http://tug.org/TUGboat/tb37-1/tb115alsafi.pdf
If not, is anyone interested in building it with me?
I know there's a company that does something like this for parking tickets in NYC, and another one that does it for airline tickets.
Now, the carriers require that the shipper themselves (or whoever paid for the shipment to begin with) must claim the refund. So third party refund collections are a violation of terms of service.
There are still some very large logistics providers that claim to offer this, but I am not sure how they do this. They might actually route all shipments through them, making them the actual shipper, allowing them to collect refunds. But you have to commit to them for all logistics/shipping.
Unless you monitor it closely yourself, there is no way to get information about late shipments from the carriers. So they make it hard to get them. And not all late shipments are eligible (only if fault of carrier).
So there is value alone in being aware of what to seek refunds on. I've thought about rolling this out into a service. I'm still working on tweaking my setup.
You can check out my automations, configuration files & docs at GitHub https://github.com/brianjking/homeassistant-config.
https://github.com/siquick/findahouseshare
Python + BeautifulSoup
There are lots of managed services to do this of course but I figured it would be a useful learning exercise. And it was
Built for a friend who has to pull it manually all day at work.
I am a solo Sysadmin at a decently sized game server host and we have ~60 different dedicated servers. I wrote Platypus as a way of keeping track of it all. It's still definitely a work in progress (bugs are plentiful), but it now uses websockets so theres that. https://github.com/gmemstr/platypus
It's here: https://github.com/gusmd/vigil.py
I used it fairly regularly to keep my local repos up to date, and I know one developer who used it to generate gource visualizations.
So I have a parser that checks for url of paywall articles being posted. When it happens, the python script logs to the corresponding website and rehost the content of the article on my server. Finally it posts a new link — with no paywall this time — in the chatroom.
This required asking my friends for their login information on the websites where I don't have a subscription, but it made the whole process of sharing articles way easier.
However, covering all corner cases in Bash is such a pain that I might just migrate it all to Python someday.
I managed to watch some classics on a Big Screen thanks to it!