Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed/Disabled sites. Update requirements.txt #1517

Merged
merged 7 commits into from May 14, 2024
Merged

Conversation

rly0nheart
Copy link
Collaborator

@rly0nheart rly0nheart commented May 10, 2024

Fixed Sites

  • AllRecipes
  • Linktree
  • CreativeMarket
  • ImgInn
  • Shutterstock
  • Contently
  • Armchairgm.fandom.com
  • Bleach.fandom.com
  • Battleraprus.fandom.com

Disabled Sites

  • Forums.ea.com (requires a logged in user)
  • CrunchyRoll (requires a logged in user)
  • Windy (requires a logged in user)
  • MetaCritic (requires a logged in user)
  • InfosecInstitute (requires a logged in user)
  • MicrosoftTechNet (requires a logged in user)
  • club.cnews.ru (requires a logged in user)
  • Scorcher (Seems to redirect to a Telegram channel: https://t.me/+iP4jP6LFFIAyYzFi)

Other changes

  • Update requirements.txt/test-requirements.txt to prevent dependency conflicts.
  • Replaced of datetime.utcnow() with datetime.now(timezone.utc) to fetch the current UTC time in utils/update_site_data.py, as datetime.utcnow() will be deprecated in future versions.
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  • Verified that the updated method correctly returns the current UTC time.

Pytest Output

======================================================================================================= test session starts ========================================================================================================
platform linux -- Python 3.12.3, pytest-8.2.0, pluggy-1.5.0
rootdir: ...
configfile: pytest.ini
plugins: cov-5.0.0, asyncio-0.23.6, pytest_httpserver-1.0.10, rerunfailures-14.0
asyncio: mode=Mode.AUTO
collected 66 items

tests/test_activation.py .                                                                                                                                                                                                   [  1%]
tests/test_cli.py ....                                                                                                                                                                                                       [  7%]
tests/test_data.py .                                                                                                                                                                                                         [  9%]
tests/test_executors.py ....                                                                                                                                                                                                 [ 15%]
tests/test_maigret.py ..                                                                                                                                                                                                     [ 18%]
tests/test_notify.py ....                                                                                                                                                                                                    [ 24%]
tests/test_report.py ............s..                                                                                                                                                                                         [ 46%]
tests/test_sites.py .............                                                                                                                                                                                            [ 66%]
tests/test_utils.py ...........                                                                                                                                                                                              [ 83%]
tests/test_activation.py s                                                                                                                                                                                                   [ 84%]
tests/test_checking.py ....                                                                                                                                                                                                  [ 90%]
tests/test_maigret.py .s.ss.                                                                                                                                                                                                 [100%]

================================================================================================== 61 passed, 5 skipped in 30.99s ==================================================================================================

fixed_sites: AllRecipes, Linktree, CreativeMarket, ImgInn, Shutterstock, Contently

disabled_sites: Forums.ea.com. CrunchyRoll, Windy, MetaCritic, InfosecInstitute, Armchairgm.fandom.com, Bleach.fandom.com

Update requirements to prevent dependency conflicts.
Update requirements.txt to prevent dependency conflicts
@rly0nheart rly0nheart requested a review from soxoj May 10, 2024 16:35
@soxoj
Copy link
Owner

soxoj commented May 10, 2024

@rly0nheart could you please run utils\update_site_data.py to refresh the markdown list of working sites and statistics?

@rly0nheart
Copy link
Collaborator Author

@rly0nheart could you please run utils\update_site_data.py to refresh the markdown list of working sites and statistics?

Done!

…disabled_sites: MicrosoftTechNet, club.cnews.ru, Scorcher
…disabled_sites: MicrosoftTechNet, club.cnews.ru, Scorcher
@soxoj
Copy link
Owner

soxoj commented May 14, 2024

Thanks a lot! 🚀 🚀 🚀

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.

None yet

2 participants