Skip to content

Commit

Permalink
Mark broke the scraper.
Browse files Browse the repository at this point in the history
  • Loading branch information
skial committed Jul 1, 2016
1 parent 80532e2 commit 5baba47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion electron-patreon/PatreonScraper.hx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class PatreonScraper {
while (status.length > 0) {
var pair = [status.pop().textContent, status.pop().textContent];
switch (pair) {
case [count, 'patrons'] | ['patrons', count]:
case [count, 'patrons'] | ['patrons', count] | [count, 'patron'] | ['patron', count]:
trace( count, 'patrons' );
data.patrons = Std.parseInt( count );

Expand Down
2 changes: 1 addition & 1 deletion src/data/patreons.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"data":[{"description":null,"duration":"per month","income":415,"keywords":null,"links":["https://www.facebook.com/OpenFL","https://twitter.com/open_fl"],"name":"OpenFL","patrons":58,"profile":null,"summary":"is creating Free Open-Source Software","update":null,"uri":"https://www.patreon.com/openfl?ty=h"},{"description":null,"duration":"per month","income":144,"keywords":null,"links":["https://twitter.com/HaxeFlixel"],"name":"HaxeFlixel","patrons":28,"profile":null,"summary":"is creating An Open Source, Cross-Platform 2D Game Engine","update":"Feb 15 at 8:06pm","uri":"https://www.patreon.com/haxeflixel?ty=h"},{"description":null,"duration":"per month","income":70,"keywords":null,"links":["https://twitter.com/jeff__ward"],"name":"hxScout","patrons":10,"profile":null,"summary":"is creating tools for Haxe development","update":null,"uri":"https://www.patreon.com/hxscout?ty=h"},{"description":null,"duration":"per month","income":34,"keywords":null,"links":["https://www.facebook.com/haxeui","https://twitter.com/IanHarrigan1982"],"name":"HaxeUI","patrons":7,"profile":null,"summary":"is creating Open source user interface libraries","update":null,"uri":"https://www.patreon.com/haxeui?ty=h"},{"description":null,"duration":"per month","income":222,"keywords":null,"links":["https://twitter.com/snowkitorg"],"name":"sn\u00F5wkit","patrons":25,"profile":null,"summary":"is creating a collective for Haxe","update":"Feb 24 at 8:55am","uri":"https://www.patreon.com/snowkit?ty=h"},{"description":null,"duration":"per month","income":26,"keywords":null,"links":["https://www.facebook.com/x01010111","https://twitter.com/x01010111","https://www.youtube.com/user/UltraWill"],"name":"Will Blanton","patrons":6,"profile":null,"summary":"is creating HaxeFlixel Tutorials","update":"Mar 21 at 5:24pm","uri":"https://www.patreon.com/x01010111?ty=h"},{"description":null,"duration":"per tutorials, code, videos","income":6,"keywords":null,"links":["https://twitter.com/lewislepton","https://www.youtube.com/c/lewislepton"],"name":"Lewis Lepton","patrons":3,"profile":null,"summary":"is creating tutorials, code, videos","update":"May 3 at 7:04pm","uri":"https://www.patreon.com/lewislepton?ty=h"},{"description":null,"duration":"per month","income":0,"keywords":null,"links":["https://twitter.com/nadako"],"name":"Dan Korostelev","patrons":0,"profile":null,"summary":"is creating Haxe","update":null,"uri":"https://www.patreon.com/nadako"},{"description":null,"duration":"per month","income":51,"keywords":null,"links":["https://twitter.com/the_august_late"],"name":"August Late","patrons":12,"profile":null,"summary":"is creating unique 2d lighting tech","update":"Jun 27 at 2:56pm","uri":"http://www.patreon.com/augustlate"},{"description":null,"duration":"per Open source contributions","income":1,"keywords":null,"links":["https://twitter.com/mknol"],"name":"Mark","patrons":null,"profile":null,"summary":"is creating Code","update":null,"uri":"https://www.patreon.com/markknol"}]}
{"data":[{"description":null,"duration":"per month","income":415,"keywords":null,"links":["https://www.facebook.com/OpenFL","https://twitter.com/open_fl"],"name":"OpenFL","patrons":58,"profile":null,"summary":"is creating Free Open-Source Software","update":null,"uri":"https://www.patreon.com/openfl?ty=h"},{"description":null,"duration":"per month","income":144,"keywords":null,"links":["https://twitter.com/HaxeFlixel"],"name":"HaxeFlixel","patrons":28,"profile":null,"summary":"is creating An Open Source, Cross-Platform 2D Game Engine","update":"Feb 15 at 8:06pm","uri":"https://www.patreon.com/haxeflixel?ty=h"},{"description":null,"duration":"per month","income":70,"keywords":null,"links":["https://twitter.com/jeff__ward"],"name":"hxScout","patrons":10,"profile":null,"summary":"is creating tools for Haxe development","update":null,"uri":"https://www.patreon.com/hxscout?ty=h"},{"description":null,"duration":"per month","income":34,"keywords":null,"links":["https://www.facebook.com/haxeui","https://twitter.com/IanHarrigan1982"],"name":"HaxeUI","patrons":7,"profile":null,"summary":"is creating Open source user interface libraries","update":null,"uri":"https://www.patreon.com/haxeui?ty=h"},{"description":null,"duration":"per month","income":222,"keywords":null,"links":["https://twitter.com/snowkitorg"],"name":"sn\u00F5wkit","patrons":25,"profile":null,"summary":"is creating a collective for Haxe","update":"Feb 24 at 8:55am","uri":"https://www.patreon.com/snowkit?ty=h"},{"description":null,"duration":"per month","income":26,"keywords":null,"links":["https://www.facebook.com/x01010111","https://twitter.com/x01010111","https://www.youtube.com/user/UltraWill"],"name":"Will Blanton","patrons":6,"profile":null,"summary":"is creating HaxeFlixel Tutorials","update":"Mar 21 at 5:24pm","uri":"https://www.patreon.com/x01010111?ty=h"},{"description":null,"duration":"per tutorials, code, videos","income":6,"keywords":null,"links":["https://twitter.com/lewislepton","https://www.youtube.com/c/lewislepton"],"name":"Lewis Lepton","patrons":3,"profile":null,"summary":"is creating tutorials, code, videos","update":"May 3 at 7:04pm","uri":"https://www.patreon.com/lewislepton?ty=h"},{"description":null,"duration":"per month","income":0,"keywords":null,"links":["https://twitter.com/nadako"],"name":"Dan Korostelev","patrons":0,"profile":null,"summary":"is creating Haxe","update":null,"uri":"https://www.patreon.com/nadako"},{"description":null,"duration":"per month","income":51,"keywords":null,"links":["https://twitter.com/the_august_late"],"name":"August Late","patrons":12,"profile":null,"summary":"is creating unique 2d lighting tech","update":"Jun 27 at 2:56pm","uri":"http://www.patreon.com/augustlate"},{"description":null,"duration":"per Open source contributions","income":1,"keywords":null,"links":["https://twitter.com/mknol"],"name":"Mark","patrons":1,"profile":null,"summary":"is creating Code","update":null,"uri":"https://www.patreon.com/markknol"}]}

1 comment on commit 5baba47

@markknol
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not do anything 😝

Please sign in to comment.