Skip to content

Clean up repository structure and fix code issues#6

Open
FarisHijazi wants to merge 1 commit intomasterfrom
cmux/clean-up-repository-structure-and-docs-la57h
Open

Clean up repository structure and fix code issues#6
FarisHijazi wants to merge 1 commit intomasterfrom
cmux/clean-up-repository-structure-and-docs-la57h

Conversation

@FarisHijazi
Copy link
Owner

Summary

  • Fixed multiple code quality issues and updated deprecated dependencies
  • Improved compatibility with modern versions of Selenium 4.0+
  • Cleaned up configuration files

Changes Made

Code Fixes

  • Fixed typo in setup.py: changed rqeuirements to requirements
  • Fixed SyntaxWarning in rarbgcli.py by removing return statement from finally block
  • Updated deprecated Selenium WebDriver methods:
    • find_element_by_*find_element(By.*, ...)
    • find_elements_by_*find_elements(By.*, ...)
    • chrome_options parameter → options

Dependency Updates

  • Updated requirements.txt to use flexible version constraints (>= instead of ==)
  • Removed asyncio from requirements (it's a built-in Python module)
  • Updated Selenium requirement to >=4.0.0 for modern API support

Configuration Cleanup

  • Removed duplicate entries in .gitignore (.cookies.json, dist/, build/)

Test Plan

  • Python syntax validation passes without warnings
  • All deprecated Selenium methods have been updated
  • Requirements are properly specified with flexible versioning

🤖 Generated with Claude Code

- Fixed typo in setup.py: 'rqeuirements' -> 'requirements'
- Fixed SyntaxWarning in rarbgcli.py (removed 'return' in finally block)
- Updated deprecated Selenium methods (find_element_by_* -> find_element(By.*))
- Fixed deprecated chrome_options parameter to use 'options'
- Cleaned up .gitignore by removing duplicate entries
- Updated requirements.txt to use flexible version constraints (>= instead of ==)
- Removed asyncio from requirements.txt (built-in module)
- Updated Selenium requirement to 4.0.0+ for modern API compatibility

These changes improve code quality, fix warnings, and ensure compatibility with current versions of dependencies.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant