djotaku - Extra Life Community Hub Jump to content

djotaku

Members
  • Content Count

    159
  • Joined

  • Last visited

  • Days Won

    1

djotaku last won the day on August 6 2018

djotaku had the most liked content!

Community Reputation

44 Excellent

About djotaku

  • Rank
    Junior Member
  • Birthday December 5

Extra Life

Profile Fields

  • Gender
    Male
  • Location
    Baltimore, MD

Contact Methods

  • Twitter
    djotaku
  • Twitch
    djotaku

Game IDs

  • PSN ID
    thedjotaku
  • Steam
    thedjotaku

Recent Profile Visitors

1,339 profile views
  1. Current Release: v3.2 Release URL: https://github.com/djotaku/ELDonationTracker/releases/tag/v3.2 Release notes: Ever since the DDOS last year, there have been intermittent issues with the API availability. I've changed the code to handle this more gracefully. I've got a refactor scheduled that's also going to help make updates more elegant and hopefully hit the API less.
  2. Current Release: v3.1 Release URL: https://github.com/djotaku/ELDonationTracker/releases/tag/v3.1 Release notes: In the past I've handled Anonymous names and donations without messages. New wrinkle in things - donations where the amount is secret. This release fixes that.
  3. Current Release: v3.0 Release URL: https://github.com/djotaku/ELDonationTracker/releases/tag/v3.0 Release notes: Lots and lots of changes - some user-facing and some in the background, running more efficiently. (Or more maintain-ably) In the GUI start/stop should reload the config now - no more need to restart the GUI. So if you change something in the configuration after you've started running the script, just hit stop and start again. I have added the ability to persist the settings. No longer do you have to re-enter your settings when you upgrade. It will save to the XDG-recommended location on Linux and the equivalent on Windows. Because of this, the config file has a version now (in case I add new fields). When you start the GUI with an outdated version it will ask if you want to start from scratch or update your configs by opening settings, double-checking what's there and hitting save (or persist - depending on whether you want to persist your settings or just save within the folder you just extracted). You now have the ability to change number of donations put into the text files. So if you want to display more than 5 donations on the screen (vertically or horizontally) you can now show any arbitrary number of donors and donations. See the settings button (or file) for that option. I do have one "breaking" change for this release - some of the filenames have changed both to reflect the fact it no longer saves only 5 donations or donors and because I've realized that there is a difference in the API between donors and donations. So enjoy all that! With all those changes there's bound to be a bug that slipped in there (I hope not, but .... I'm only human) so please file an issue if anything is not working correctly. New tutorial videos:
  4. I created a discord account. And while it seems to be Slack-like or IRC-like - I've never used it before. I take it I need to find the server you're on the find your channel. What server are you on?
  5. Different issue I'm noticing. Maybe I'm hitting the API too much post DDOS? But I amd getting connection timeout errors. If you could take a quick peek and let me know what you think - https://github.com/djotaku/ELDonationTracker I haven't changed anything in extralifedonations.py since before the DDOS. Lines 172-203 govern the loop. I have it sleeping 30 seconds between each iteration. However, within that 30 seconds I hit at least 4 times - participant, donors, team, team donors. Is that too much now? Is there a more efficient way that's more compliant in the post-DDOS world?
  6. If you're following this topic to see when I have a new release - please switch over to following
  7. Rather than continue to hijack the thread where I was calling for features and coders, I'm starting this new thread for new releases. Of course, you can always subscribe to the releases on github. Github page: https://github.com/djotaku/ELDonationTracker What does this software do? Well, on either Windows or Linux (wherever you choose to game) you can run this program with a GUI or on the commandline to generate text files from the Extra Life data. You can then use these text files in OBS or XSplit to update as donations come in as you play. Current release: v2.2.3 - https://github.com/djotaku/ELDonationTracker/releases/tag/v2.2.3 See below for v3.2!!! I'm about to release v2.5, but it doesn't add any extra functionality. It adds in unit tests for people who want to help with development and for me as I refactor the code for better maintenance. If you have issues and need a bug fix, the best and fastest way to contact me is by making an issue on Github. (That's basically a bug report, but you can also use it for a feature request) Second best would be in this thread. I've got a bunch of instructions on the github page on how to use the software. See 3.0 release for the latest instructions on how to use the software.
  8. Two things: 1) Now that I have headers, it works even with http (doesn't need https) 2) the amount of places I had to change it drives home how much I need to refactor my code!
  9. did a bit of googling and ... maybe I need to add a header. Will research and get back to you. OK, yup. That fixes it.
  10. Hey Tim, Is this a new requirement post-DDOS? I've been using the code without HTTPS all 2019 (and previously, of course). My code https://github.com/djotaku/ELDonationTracker does not use HTTPS, but that's why I tried it on the commandline in my previous post and that failed for some reason. But github with https didn't give me that warning. edit to add, not sure what this guy's code is doing, but it's another complaint of python not workign:
  11. Sure. I did a quick sample call: Python 3.7.4 (default, Jul 9 2019, 16:32:37) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import urllib.request >>> url="http://www.extra-life.org/api/participants/348774" >>> urllib.request.urlopen(url) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib64/python3.7/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib64/python3.7/urllib/request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python3.7/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/usr/lib64/python3.7/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: Forbidden And if I visit that url in my browser it works. Now, the browser changes it to HTTPS, so I wanted to double-check that: >>> url="https://www.extra-life.org/api/participants/348774" >>> urllib.request.urlopen(url) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib64/python3.7/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib64/python3.7/urllib/request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python3.7/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/usr/lib64/python3.7/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: Forbidden And just to make sure it's not my machine: >> url="https://www.github.com" >>> urllib.request.urlopen(url) <http.client.HTTPResponse object at 0x7f4ba7254f10> Thanks!
  12. Hey there, Since the DDOS, my Python program is getting a 403 when trying to access the API. Is there something new that needs to be done?
  13. video tutorial for release v2.2 on Linux is now live:
  14. video tutorial for using v2.2 on Windows is now live:
×
×
  • Create New...