We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have an issue with a private tracker that seems to have custom formats that arrnounced can't handle.. Can you take alook at it?
2022-08-02 20:26:23,753 - ERROR:IRC:xxxtracker - Failed to execute on_raw_privmsg handler. Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pydle/client.py", line 422, in on_raw await handler(message) File "/usr/local/lib/python3.9/site-packages/pydle/features/rfc1459/client.py", line 712, in on_raw_privmsg await self.on_message(target, nick, message) File "/usr/local/lib/python3.9/site-packages/arrnounced/irc.py", line 84, in on_message await message_handler.on_message(self.tracker, source, target.lower(), message) File "/usr/local/lib/python3.9/site-packages/arrnounced/message_handler.py", line 83, in on_message announcement = _check_and_parse(tracker, source, target, message) File "/usr/local/lib/python3.9/site-packages/arrnounced/message_handler.py", line 39, in _check_and_parse return create_announcement(tracker, variables) File "/usr/local/lib/python3.9/site-packages/arrnounced/announcement.py", line 26, in create_announcement line_match.process(tracker.config, variables) File "/usr/local/lib/python3.9/site-packages/arrnounced/announcement.py", line 72, in process var_shard = urllib.parse.quote_plus(var_shard) File "/usr/local/lib/python3.9/urllib/parse.py", line 887, in quote_plus string = quote(string, safe + space, encoding, errors) File "/usr/local/lib/python3.9/urllib/parse.py", line 871, in quote return quote_from_bytes(string, safe) File "/usr/local/lib/python3.9/urllib/parse.py", line 896, in quote_from_bytes raise TypeError("quote_from_bytes() expected bytes") TypeError: quote_from_bytes() expected bytes
The Format is:
<parseinfo> <linepatterns> <!--[Filme/Remux] Batman.Begins.2005.German.DL.1080p.BluRay.VC1-AVCBD (Größe: 16,23 GB) https://xxx.xx/details.php?id=1234567--> <extract> <regex value="^\[(.*)\]\s(.*)\s\(Größe:\s(.*)\)\shttps\:\/\/([^\/]+\/).*id=(\d+)"/> <vars> <var name="category"/> <var name="torrentName"/> <var name="$torrentSize"/> <var name="$baseUrl"/> <var name="$torrentId"/> </vars> </extract> </linepatterns> <linematched> <var name="torrentUrl"> <string value="https://"/> <var name="$baseUrl"/> <string value="ddownload_ssl.php/"/> <var name="$torrentId"/> <string value="/"/> <varenc name="uid"/> <string value="/"/> <varenc name="authkey"/> <string value="/"/> <varenc name="torrentName"/> <string value=".torrent"/> </var> </linematched> <ignore> </ignore> </parseinfo>
Examples are:
<xxx> [Serien/HD] Charmed.2018.S03E15.GERMAN.DL.1080p.WEB.x264-VoDTv (Größe: 2,11 GB) https://xxx.xx/details.php?id=xxxxxxx <xxx> [Serien/HD] Charmed.2018.S03E16.GERMAN.DL.1080p.WEB.x264-VoDTv (Größe: 2,15 GB) https://xxx.xx/details.php?id=xxxxxxx <xxx> [Audio/Musik] Big_Floss-Real_Dog-WEB-2020-RAGEMP3 (Größe: 78,20 MB) https://xxx.xx/details.php?id=xxxxxxx <xxx> [Audio/Musik] Whitesnake-Greatest_Hits-(Remastered)-2022-404 (Größe: 152,07 MB) https://xxx.xx/details.php?id=xxxxxxx <xxx> [Audio/Musik] Big_Floss-Long_Live_Tre-WEB-2020-RAGEMP3 (Größe: 138,20 MB) https://xxx.xx/details.php?id=xxxxxxx <xxx> [Filme/SD] Henry.Portrait.Of.A.Serial.Killer.1986.WS.GERMAN.DL.BDRIP.X264-WATCHABLE (Größe: 1,45 GB) https://xxx.xx/details.php?id=xxxxxxx
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have an issue with a private tracker that seems to have custom formats that arrnounced can't handle..
Can you take alook at it?
The Format is:
Examples are:
The text was updated successfully, but these errors were encountered: