Skip to content

Commit

Permalink
[service.subtitles.rvm.addic7ed] 3.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
romanvm committed Dec 15, 2024
1 parent cd6b042 commit 4661a30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 254 deletions.
249 changes: 0 additions & 249 deletions service.subtitles.rvm.addic7ed/addic7ed/simple_requests.py

This file was deleted.

4 changes: 2 additions & 2 deletions service.subtitles.rvm.addic7ed/addic7ed/webclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

import logging

import simple_requests as requests
from xbmcvfs import File

from addic7ed import simple_requests as requests
from addic7ed.exceptions import Add7ConnectionError, NoSubtitlesReturned

__all__ = ['Session']
Expand All @@ -27,7 +27,7 @@
SITE = 'https://www.addic7ed.com'
HEADERS = {
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 '
'(KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36',
'(KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'Host': SITE[8:],
'Accept-Charset': 'UTF-8',
Expand Down
6 changes: 3 additions & 3 deletions service.subtitles.rvm.addic7ed/addon.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="service.subtitles.rvm.addic7ed"
name="Addic7ed.com"
version="3.2.2"
version="3.2.3"
provider-name="Roman V.M.">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.beautifulsoup4"/>
<import addon="script.module.html5lib"/>
<import addon="script.module.simple-requests"/>
<!--<import addon="script.module.web-pdb"/>-->
</requires>
<extension point="xbmc.subtitle.module" library="main.py" />
Expand All @@ -29,8 +30,7 @@
<icon>icon.png</icon>
<fanart>fanart.jpg</fanart>
</assets>
<news>3.2.2:
- Fixed the issue with an empty content-charset header.
<news>3.2.3:
- Internal changes.</news>
<reuselanguageinvoker>true</reuselanguageinvoker>
</extension>
Expand Down

0 comments on commit 4661a30

Please sign in to comment.