diff options
author | Matt Lyon <matthewlyon18@gmail.com> | 2019-11-26 21:33:18 +1100 |
---|---|---|
committer | Matt Lyon <matthewlyon18@gmail.com> | 2019-11-26 21:33:18 +1100 |
commit | 34d91e75d871c55b82775e169d5ebc51837d20b0 (patch) | |
tree | 0d8038ad71505de80993f70b72e222ea398c8763 /tpblite/models/torrents.py | |
parent | a3fa73495141fc240ea0ad9b54d7a2882264db20 (diff) | |
download | tpb-lite-34d91e75d871c55b82775e169d5ebc51837d20b0.tar.gz tpb-lite-34d91e75d871c55b82775e169d5ebc51837d20b0.tar.bz2 tpb-lite-34d91e75d871c55b82775e169d5ebc51837d20b0.zip |
small fixes
Diffstat (limited to 'tpblite/models/torrents.py')
-rw-r--r-- | tpblite/models/torrents.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tpblite/models/torrents.py b/tpblite/models/torrents.py index 7852c28..dd63358 100644 --- a/tpblite/models/torrents.py +++ b/tpblite/models/torrents.py @@ -82,8 +82,12 @@ class Torrents(object): return torrents def __getRows(self, soup): + '''TODO: if length of rows = 1, then no search results + ''' rows = soup.body.find_all('tr') # remove first and last entries + print(len(rows)) + print(rows) del rows[0] del rows[-1] return rows |