@japan77:
the Controls sheet is open because it doesn't expose anything worthwhile beyond just some instructions that kAT follows (but not how kAT enforces/follows those rules). The entire idea of IPL/the CSL framework is to push openness and community ownership in the Warlight ladder system, so the only hidden sheets are the ones that only exist for graph purposes or because Google Sheets doesn't make iteration easy (and they're all IPL-specific).
IPL is an open standard, so I keep things open.
As for your attempt- nope... I'm not sure why you'd think it would work that way.
I mean, to be clear, here's the Python libraries kAT uses:
- gspread (to communicate with spreadsheets)
- requests (to pull data from the forum thread)
- BeautifulSoup (to parse that data)
- string (because some things I'm handling with straight up string processing)
If you think about that (and maybe look into what the libraries do- especially requests and BeautifulSoup), you'll come up with some better attempts at user impersonation. Feel free to test them out!
Here's an example of something that
could have worked earlier:
</table>
<div id="PreviewDiv_508905"></div>
<div id="FormattingGuide_508905" style="display: none">
<br /><br />
Formatting Guide:
<ul>
<li>You can make text
italics, or
bold.</li>
<li>Links are automatically made clickable.</li>
<li>Inline images like this:

</li>
<li>You can indicate text is a quote like this:
This is a quote.
</li>
<li>Make a divider line with
</li>
<li>Surround pre-formatted text with
...
</li>
<li>You can make a bulleted list with
and precede each line with
</li>
</ul>
</div>
<table cellspacing="0" class="region" style="padding-bottom:15px; width: 100%; max-width: 900px">
<tr>
<th colspan="2" style="text-align:right"><font color="#CCCCCC">Infinity Premier League</font>: 1/31/2016 23:38:51</th>
</tr>
<tr style="height: 100px">
<td width="90" valign="top">
<br>
<a href="/Clans/?ID=70" title="The Lost Wolves"><img border="0" style="vertical-align: middle" src="https://d32kaghj56y4ei.cloudfront.net/Data/Clans/70/Icon/242175108.png" /></a>
<a href="/Profile?p=3022124041">japan77</a>
<br />
Level 51
</td>
<td style="text-align:left">
<div style="display:block; width: 100%; max-width: 781px; overflow-x: auto" id="PostForDisplay_508907">
grant_privileges clan=70 leagues=ALL methods=[add_team] 4328709837
</div>
</td>
</tr>
</table>
Edited 2/1/2016 04:51:37