scraping-rtn 0.0.5__py3-none-any.whl → 0.0.5.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of scraping-rtn might be problematic. Click here for more details.
- scraping_rtn/RtnSingleTeamYear.py +2 -1
- {scraping_rtn-0.0.5.dist-info → scraping_rtn-0.0.5.1.dist-info}/METADATA +1 -1
- scraping_rtn-0.0.5.1.dist-info/RECORD +8 -0
- scraping_rtn-0.0.5.dist-info/RECORD +0 -8
- {scraping_rtn-0.0.5.dist-info → scraping_rtn-0.0.5.1.dist-info}/LICENSE +0 -0
- {scraping_rtn-0.0.5.dist-info → scraping_rtn-0.0.5.1.dist-info}/WHEEL +0 -0
- {scraping_rtn-0.0.5.dist-info → scraping_rtn-0.0.5.1.dist-info}/top_level.txt +0 -0
|
@@ -266,7 +266,8 @@ class RtnSingleTeamYear(object):
|
|
|
266
266
|
|
|
267
267
|
def _get_current_week(self):
|
|
268
268
|
if not hasattr(self, 'week'):
|
|
269
|
-
|
|
269
|
+
week_data = get_data_from_api(endpoint='currentweek', suffix=str(self.year)).json()
|
|
270
|
+
return min(int(week_data['week']), int(week_data['max']))
|
|
270
271
|
|
|
271
272
|
def _get_raw_rankings(self, team_vs_ind, event, week):
|
|
272
273
|
team_ind_map = {'team': 0, 'ind': 1}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: scraping_rtn
|
|
3
|
-
Version: 0.0.5
|
|
3
|
+
Version: 0.0.5.1
|
|
4
4
|
Summary: package to scrape gymnastics data from Road To Nationals
|
|
5
5
|
Author-email: Claire Harmon <ceharmon220@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/cgn-charmon/scraping_rtn
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
scraping_rtn/RtnSingleTeamYear.py,sha256=gemLpucuk9bKukgYJhTqhWeKVNgATB-l3s-BROtS4hk,17123
|
|
2
|
+
scraping_rtn/__init__.py,sha256=GjqUhVyBgQhCFzLaAQ4rm1pevZv5uAuEdxeyJjaRpe0,3825
|
|
3
|
+
scraping_rtn/src.py,sha256=6L54EVeN4A5gNZxgc5P0ghnkej8y8J89glSt9rjeTwg,23719
|
|
4
|
+
scraping_rtn-0.0.5.1.dist-info/LICENSE,sha256=hbUs8BYJhECMTIKtiPtjcfq-0fWEtLTxB42IS_SzxWk,1069
|
|
5
|
+
scraping_rtn-0.0.5.1.dist-info/METADATA,sha256=GNt4EhM7M5EBVfzyk7nFct3d6NY9faWnCBM4ycW9p80,672
|
|
6
|
+
scraping_rtn-0.0.5.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
+
scraping_rtn-0.0.5.1.dist-info/top_level.txt,sha256=PlP9g-4WmuusQ1B-LmteQpLp-jVJdnh0BX8qAzBqDEE,13
|
|
8
|
+
scraping_rtn-0.0.5.1.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
scraping_rtn/RtnSingleTeamYear.py,sha256=_kGVGIHmsknawcUkon79bfU8V70fXU7Kvd1irbFJnBA,17055
|
|
2
|
-
scraping_rtn/__init__.py,sha256=GjqUhVyBgQhCFzLaAQ4rm1pevZv5uAuEdxeyJjaRpe0,3825
|
|
3
|
-
scraping_rtn/src.py,sha256=6L54EVeN4A5gNZxgc5P0ghnkej8y8J89glSt9rjeTwg,23719
|
|
4
|
-
scraping_rtn-0.0.5.dist-info/LICENSE,sha256=hbUs8BYJhECMTIKtiPtjcfq-0fWEtLTxB42IS_SzxWk,1069
|
|
5
|
-
scraping_rtn-0.0.5.dist-info/METADATA,sha256=nloX7clZSCAWpkBlsTOBBAE8oxXj71-KBrHWeKzLLLo,670
|
|
6
|
-
scraping_rtn-0.0.5.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
-
scraping_rtn-0.0.5.dist-info/top_level.txt,sha256=PlP9g-4WmuusQ1B-LmteQpLp-jVJdnh0BX8qAzBqDEE,13
|
|
8
|
-
scraping_rtn-0.0.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|