Skip to content

Commit

Permalink
Hide debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Oct 21, 2024
1 parent 8998a0c commit 314916b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trackers/BHD.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ async def search_torrent_page(self, meta, disctype):
info_dict = torrent[b'info']
bencoded_info = bencodepy.encode(info_dict)
info_hash = hashlib.sha1(bencoded_info).hexdigest()
console.print(f"Info Hash: {info_hash}")
# console.print(f"Info Hash: {info_hash}")

params = {
'action': 'search',
Expand All @@ -347,7 +347,7 @@ async def search_torrent_page(self, meta, disctype):
try:
response = requests.post(url=url, json=params)
response_data = response.json()
console.print(f"[yellow]Response Data: {response_data}")
# console.print(f"[yellow]Response Data: {response_data}")

if response_data.get('total_results') == 1:
for each in response_data['results']:
Expand Down

0 comments on commit 314916b

Please sign in to comment.