Skip to content

Commit

Permalink
Merge pull request #282 from galgeek/2407-deps-update
Browse files Browse the repository at this point in the history
 websocket-client update, plus yt-dlp update
  • Loading branch information
galgeek authored Jul 30, 2024
2 parents 4f36684 + 124a390 commit c1f5aaf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions brozzler/browser.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
brozzler/browser.py - manages the browsers for brozzler
Copyright (C) 2014-2023 Internet Archive
Copyright (C) 2014-2024 Internet Archive
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -138,6 +138,10 @@ def num_in_use(self):
return len(self._in_use)


# uncomment the next line for LOTS of debugging logging
# websocket.enableTrace(True)


class WebsockReceiverThread(threading.Thread):
logger = logging.getLogger(__module__ + "." + __qualname__)

Expand Down Expand Up @@ -173,7 +177,7 @@ def received_result(self, msg_id):
def pop_result(self, msg_id):
return self._result_messages.pop(msg_id)

def _on_close(self, websock):
def _on_close(self, websock, close_status_code, close_msg):
pass
# self.logger.info('GOODBYE GOODBYE WEBSOCKET')

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ def find_package_data(package):
},
install_requires=[
"PyYAML>=5.1",
"yt_dlp<2023.11.16",
"reppy==0.3.4",
"requests>=2.21",
"websocket-client>=0.39.0,<=0.48.0",
"websocket-client==1.8.0",
"pillow>=5.2.0",
"urlcanon>=0.1.dev23",
"doublethink @ git+https://github.com/internetarchive/doublethink.git@Py311",
Expand All @@ -80,6 +79,7 @@ def find_package_data(package):
"python-magic>=0.4.15",
],
extras_require={
"yt-dlp": ["yt-dlp==2024.7.25"],
"dashboard": ["flask>=1.0", "gunicorn>=19.8.1"],
"easy": [
"warcprox>=2.4.31",
Expand Down

0 comments on commit c1f5aaf

Please sign in to comment.