benoitzugmeyer / addic7ed-cli Goto Github PK
View Code? Open in Web Editor NEWAddic7ed command-line interface
License: MIT License
Addic7ed command-line interface
License: MIT License
When trying to pull a subtitle, I'm seeing the following error with all videos:
# addic7ed fear.the.walking.dead.s05e11.720p.web.h264-tbs.mkv
Using configuration file /root/.config/addic7ed
Target SRT file: fear.the.walking.dead.s05e11.720p.web.h264-tbs.srt
Using query "fear the walking dead 5x11" and release "h264 web tbs"
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/Entware-ng/bin/addic7ed", line 11, in <module>
load_entry_point('addic7ed-cli==1.4.5', 'console_scripts', 'addic7ed')()
File "/opt/lib/python2.7/site-packages/addic7ed_cli/__init__.py", line 319, in main
globals()[namespace.command](namespace)
File "/opt/lib/python2.7/site-packages/addic7ed_cli/__init__.py", line 142, in search
SearchUI(arguments).launch()
File "/opt/lib/python2.7/site-packages/addic7ed_cli/ui.py", line 172, in launch
files = list(self.iter_files())
File "/opt/lib/python2.7/site-packages/addic7ed_cli/ui.py", line 152, in iter_files
version = self.launch_file(file_arg)
File "/opt/lib/python2.7/site-packages/addic7ed_cli/ui.py", line 130, in launch_file
search_results = search(query)
File "/opt/lib/python2.7/site-packages/addic7ed_cli/episode.py", line 116, in search
for link in results('.tabel a')
File "/opt/lib/python2.7/site-packages/addic7ed_cli/request.py", line 29, in __call__
self._query = PyQuery(self.content)
File "/opt/lib/python2.7/site-packages/pyquery/pyquery.py", line 255, in __init__
elements = fromstring(context, self.parser)
File "/opt/lib/python2.7/site-packages/pyquery/pyquery.py", line 99, in fromstring
result = getattr(lxml.html, meth)(context)
File "/opt/lib/python2.7/site-packages/lxml/html/__init__.py", line 875, in fromstring
doc = document_fromstring(html, parser=parser, base_url=base_url, **kw)
File "/opt/lib/python2.7/site-packages/lxml/html/__init__.py", line 764, in document_fromstring
"Document is empty")
lxml.etree.ParserError: Document is empty
It looks like it's not scraping the webpage properly, perhaps something on addic7ed website changed?
For the past week, addic7ed-cli says there is "No Result" and "Nothing to Download" for everything I've tried to get subtitles for. My video files are all named correctly and the website shows the subs available.
Here's an example:
# addic7ed gotham.s04e21.720p.web.x264-tbs.mkv
Target SRT file: gotham.s04e21.720p.web.x264-tbs.srt
No result
Nothing to download
As you can see from this link, there are subs available: http://www.addic7ed.com/serie/Gotham/4/21/A_Dark_Knight%3A_One_Bad_Day
is there a way you can use their "multi-download option" which let's you download complete season subs at once in a zip file thereby avoiding to hit the limits per day for downloading each episode's subtitiles
This ticket is about two things tho.
Currently there's no way to skip downloads except to terminate script.
By design default value is always [1]
, would be nice if we could type N(o)
or S(kip)
or whatever you decide to skip current file in the queue.
2nd part of the ticket is regarding skipping already downloaded files. Would be nice if we could have option for config that would auto skip already existing subs.
Hi,
I've just installed addic7ed-cli with pip but when I try to launch it, here is what I got :
addic7ed -l french The.Musketeers.1x02.Sleight.Of.Hand.HDTV.x264-FoV.mp4
Traceback (most recent call last):
File "/usr/local/bin/addic7ed", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2881, in
parse_requirements(requires), Environment()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 596, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests==0.14.1
I've tried to install requests in its 0.14.1 version but if I reinstall addic7ed-cli, pip automatically install the 2.2.1 version :
sudo pip install https://github.com/BenoitZugmeyer/addic7ed-cli/archive/master.zip
Downloading/unpacking https://github.com/BenoitZugmeyer/addic7ed-cli/archive/master.zip
Downloading master.zip
Running setup.py egg_info for package from https://github.com/BenoitZugmeyer/addic7ed-cli/archive/master.zip
Requirement already satisfied (use --upgrade to upgrade): pyquery>=1.2.4 in /usr/local/lib/python2.7/dist-packages (from addic7ed==0.1.7)
Downloading/unpacking requests==0.14.1 (from addic7ed==0.1.7)
Running setup.py egg_info for package requests
Requested requests==0.14.1 (from addic7ed==0.1.7), but installing version 2.2.1
Requirement already satisfied (use --upgrade to upgrade): lxml>=2.1 in /usr/lib/python2.7/dist-packages (from pyquery>=1.2.4->addic7ed==0.1.7)
Requirement already satisfied (use --upgrade to upgrade): cssselect in /usr/local/lib/python2.7/dist-packages (from pyquery>=1.2.4->addic7ed==0.1.7)
Installing collected packages: requests
Found existing installation: requests 2.2.1
Uninstalling requests:
Successfully uninstalled requests
Running setup.py install for requests
Successfully installed requests
Cleaning up...
How can I make it work ?
Thanks in advance.
Hi,
First of all, thanks for this great script !
Is there a way to automatically add the language in the srt filename ? For example, when I run this command :
addic7ed -l french The\ Strain\ -\ S04E06\ -\ Tainted\ Love.mkv
I get a file named : The Strain - S04E06 - Tainted Love.srt
I would like to have "fr" included in the file name, before the srt, like this :
The Strain - S04E06 - Tainted Love.fr.srt
I found a workaround, which is to type :
addic7ed -l french The\ Strain\ -\ S04E06\ -\ Tainted\ Love.fr.mkv
But it's kind of ugly to have to do that.
(Please note that I'm using the last version of the script, not the stable one, but I tried both).
Thanks !
addic7ed-cli generates URLs like this:
I believe the site now expects the URL to be like this:
Subtitle searches with addic7ed-cli are failing for me (status 304) until this URL issue is resolved.
Notice the 'srch.php' and 'Submit' in the new URL vs 'search.php' and 'submit' in the current addic7ed-cli generated URL (not sure if the casing of Submit is important here, just noticed that it was different).
Details of my system:
Hi,
Today I had this error:
Fatal error: Daily Download count exceeded.
Would it be possible to add addic7ed username/password so that the script use my account to download subs?
I just upgraded to v1.43 and tested. I'm getting the following error:
Traceback (most recent call last):
File "/usr/local/bin/addic7ed", line 9, in <module>
load_entry_point('addic7ed-cli==1.4.3', 'console_scripts', 'addic7ed')()
File "/usr/local/lib/python2.7/dist-packages/addic7ed_cli/__init__.py", line 319, in main
globals()[namespace.command](namespace)
File "/usr/local/lib/python2.7/dist-packages/addic7ed_cli/__init__.py", line 142, in search
SearchUI(arguments).launch()
File "/usr/local/lib/python2.7/dist-packages/addic7ed_cli/ui.py", line 172, in launch
files = list(self.iter_files())
File "/usr/local/lib/python2.7/dist-packages/addic7ed_cli/ui.py", line 152, in iter_files
version = self.launch_file(file_arg)
File "/usr/local/lib/python2.7/dist-packages/addic7ed_cli/ui.py", line 141, in launch_file
return episode and self.episode(episode, args.language, release)
File "/usr/local/lib/python2.7/dist-packages/addic7ed_cli/ui.py", line 94, in episode
episode.fetch_versions()
File "/usr/local/lib/python2.7/dist-packages/addic7ed_cli/episode.py", line 68, in fetch_versions
badsub = tr('a[href*="badsub"]')[0].attrib['href']
IndexError: list index out of range
Command I ran: addic7ed Brooklyn-Nine-Nine.S05E13.720p.HDTV.x264-AVS.mkv
OS: Ubuntu 16.04.04
Python version: 2.7
addic7ed-cli version: 1.43
Addic7ed does not encode its href attributes. When an episode contains an Unicode character like "Livin’ On A Prayer", the link contains the title and addic7ed-cli crashes with the exception:
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 52: ordinal not in range(128)
To reproduce: try to search and download the subtitles for the episode Family.Guy.S10E12.HDTV.XviD-LOL
Following #2.
Examples:
$ addic7ed the.good.wife.520.hdtv-lol.srt
------------------------------
Target SRT file: the.good.wife.520.hdtv-lol.srt
The Good Wife - 02x20 - Foreign Affairs
$ addic7ed hannibal.210.hdtv-lol.srt
------------------------------
Target SRT file: hannibal.210.hdtv-lol.srt
Hannibal - 01x10 - Buffet Froid
I installed the newest version with pip install
To reproduce:
$ touch Dexter.S08E09.HDTV.XviD-AFG.avi
$ addic7ed Dexter.S08E09.HDTV.XviD-AFG.avi
Output:
------------------------------
Target SRT file: Dexter.S08E09.HDTV.XviD-AFG.srt
Dexter - 08x09 - Make Your Own Kind Of Music
Traceback (most recent call last):
File "/usr/local/bin/addic7ed", line 9, in <module>
load_entry_point('addic7ed==0.1.7', 'console_scripts', 'addic7ed')()
File "/usr/local/lib/python2.7/dist-packages/addic7ed/__init__.py", line 439, in main
UI(args, file).launch()
File "/usr/local/lib/python2.7/dist-packages/addic7ed/__init__.py", line 282, in launch
todownload = self.episode(episode, args.language, release)
File "/usr/local/lib/python2.7/dist-packages/addic7ed/__init__.py", line 215, in episode
episode.fetch_versions()
File "/usr/local/lib/python2.7/dist-packages/addic7ed/__init__.py", line 64, in fetch_versions
self.title = tables.find('.titulo').contents()[0].strip()
AttributeError: 'PyQuery' object has no attribute 'contents'
Hi,
I added the following in my configuration file:
$ cat ~/.config/addic7ed
[flags]
hearing-impaired = no
[languages]
english
And when calling addic7ed with a file as a parameter, while it shows me only the english subtitles, it does show me both HI and non HI subtitles. Is this expect? I would have thought that it would filter the HI subtitles with this configuration...
Hello,
I use CentOS 6.6 and no problem for install addic7ed
But when i tried to use i got error :
--->> addic7ed once.upon.a.time.s04e21.hdtv.x264-2hd.mp4
Target SRT file: once.upon.a.time.s04e21.hdtv.x264-2hd.srt
Once Upon a Time - 04x21 - Mother
Traceback (most recent call last):
File "/usr/bin/addic7ed", line 9, in
load_entry_point('addic7ed-cli==1.2', 'console_scripts', 'addic7ed')()
File "/usr/lib/python2.6/site-packages/addic7ed_cli/init.py", line 285, in main
globals()namespace.command
File "/usr/lib/python2.6/site-packages/addic7ed_cli/init.py", line 140, in search
SearchUI(arguments).launch()
File "/usr/lib/python2.6/site-packages/addic7ed_cli/ui.py", line 135, in launch
self.launch_file(file)
File "/usr/lib/python2.6/site-packages/addic7ed_cli/ui.py", line 124, in launch_file
todownload = self.episode(episode, args.language, release)
File "/usr/lib/python2.6/site-packages/addic7ed_cli/ui.py", line 79, in episode
episode.fetch_versions()
File "/usr/lib/python2.6/site-packages/addic7ed_cli/episode.py", line 47, in fetch_versions
release = re.sub('version ', '', release, 0, re.I)
TypeError: sub() takes at most 4 arguments (5 given)
Any ideas ?
Hi,
For a few days, it seems that addic7ed-cli is quite unable to find any subtitles on Addicted.
I've tried with the latest version from your github but I still have that issue. I can't get subtitles with addic7ed-cli but I can retrieve them with the Ruby version I've talked about the last time I've posted an issue there.
Do you have the same problem ?
Thanks :)
When a video file is being downloaded, some programs, including the torrent client transmission, append .part to the filename, e.g.
True.Blood.S06E05.WEB-DL.XviD-3LT0N.avi.part
If addic7ed-cli is asked to fetch subtitles given such a filename, the result is
True.Blood.S06E05.WEB-DL.XviD-3LT0N.avi.srt
When the download completes, the .part extension is removed. Now we have
True.Blood.S06E05.WEB-DL.XviD-3LT0N.avi
True.Blood.S06E05.WEB-DL.XviD-3LT0N.avi.srt
whereas the wanted result is
True.Blood.S06E05.WEB-DL.XviD-3LT0N.avi
True.Blood.S06E05.WEB-DL.XviD-3LT0N.srt
The solution could be to remove the .part extension of the string holding the filename as soon as possible.
Addic7ed does not encode its href attributes. When an episode contains an Unicode character like "I’ve Seen the Other Side of You", the link contains the title and addic7ed-cli crashes with the exception:
UnicodeEncodeError: 'charmap' codec can't encode character '\u2019' in position 28: character maps to <undefined>
To reproduce: try to search and download the subtitles for the episode Dark.Matter.S02E03.mkv
May be related to #3
Hello
First let me tell you two things:
English is not my primary language so please forgive me if if my english seems bad or rude
Your script is the best I've found so far so thanks for your work!
I download a lot of tv shows every days so it's a little boring to have to type the name of every video I download in the cli one by one. I just wanted to type a few letter and not more in the terminal.
Yes I now I'm a little lasy... and maybe didn't now where to look but I didn’t see any option in your script to do what I wanted (3 steps):
1)automatically scan a specific directory to find every videos in it
2)download automatically every subtitle which match with the name of all the video found at the step 1)
3) move the subtitle in the same dir than the video files
So I decided to make my own script (which use yours) in order to help you implement an option to improve your script or help other people who want the same things that me.
(I'm a beginner in python so there are maybe a better way to do this)
#!/usr/bin/python
import os, sys, os.path, shutil
import subprocess
# please adapt theses two lines:
src_dir = '/home/XXX/' # your personnal directory XXX is your user name
dst_dir = '/home/XXX/Videos/' # your video directory
def scan():
fw = open("/tmp/tmp_addic7ed.txt", "w")
for file_name in os.listdir(dst_dir):
if file_name.endswith(('.mp4', '.avi', '.mkv', '.flv')): # you can add more type of extensions
print >>fw, file_name
fw.close()
def move():
for f in os.listdir(src_dir):
src_file = os.path.join(src_dir, f)
dst_file = os.path.join(dst_dir, f)
if f.endswith('.srt'):
if os.path.exists(dst_file):
os.remove(dst_file)
shutil.move(src_file,dst_dir)
def main():
scan()
f = open("/tmp/tmp_addic7ed.txt", "r")
for line in f.read().split('\n'):
if line:
subprocess.call(["addic7ed", line])
move()
if not line:
break
f.close()
os.remove("/tmp/tmp_addic7ed.txt")
main()
Just put this script in /home/xxx directory
I included "ignore" under [flags] in ~/.config/addic7ed
Then tried:
addic7ed show_s01e01.mkv show_s01e02.mkv
and received this failure:
multidownload() takes exactly 2 arguments (0 given)
When I removed the "ignore" flag, multidownload worked fine :-)
Traceback (most recent call last):
File "/usr/bin/addic7ed", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python3.5/site-packages/pkg_resources/init.py", line 3084, in
@_call_aside
File "/usr/lib/python3.5/site-packages/pkg_resources/init.py", line 3070, in _call_aside
f(_args, *_kwargs)
File "/usr/lib/python3.5/site-packages/pkg_resources/init.py", line 3097, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.5/site-packages/pkg_resources/init.py", line 651, in _build_master
ws.require(requires)
File "/usr/lib/python3.5/site-packages/pkg_resources/init.py", line 952, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.5/site-packages/pkg_resources/init.py", line 839, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'addic7ed-cli==1.3' distribution was not found and is required by the application
Good morning, the bug is now reproductible. see #7.
The program crashes when used with:
Those were the only ones I tried.
The output is:
joel@joel-desktop:~/Skrivbord/addic7ed-cli-bug/E09$ addic7ed Dexter.S08E09.HDTV.XviD-AFG.avi
------------------------------
Target SRT file: Dexter.S08E09.HDTV.XviD-AFG.srt
Dexter - 08x09 - Make Your Own Kind Of Music
Traceback (most recent call last):
File "/usr/local/bin/addic7ed", line 9, in <module>
load_entry_point('addic7ed==0.1.7', 'console_scripts', 'addic7ed')()
File "/usr/local/lib/python2.7/dist-packages/addic7ed/__init__.py", line 439, in main
UI(args, file).launch()
File "/usr/local/lib/python2.7/dist-packages/addic7ed/__init__.py", line 282, in launch
todownload = self.episode(episode, args.language, release)
File "/usr/local/lib/python2.7/dist-packages/addic7ed/__init__.py", line 215, in episode
episode.fetch_versions()
File "/usr/local/lib/python2.7/dist-packages/addic7ed/__init__.py", line 64, in fetch_versions
self.title = tables.find('.titulo').contents()[0].strip()
AttributeError: 'PyQuery' object has no attribute 'contents'
Here are the html files:
Is it possible to include one option in order to automaticaly move the 'downloaded_file.srt' on the desktop (for example)?
Whenever I try to login using the same credentials I use for the addic7ed.com website, I get the following error:
Error: Not logged properly
Command I'm running, per instructions/help:
addic7ed login
I've verified that I'm entering my credentials in properly, yet logging in fails. I've tried on 3 different machines using addic7ed-cli, same issue on all 3 machines.
I tried running in verbose mode, but there was no difference in the output. I'm running the following version:
$ addic7ed -V
addic7ed version 1.4.5
$ python --version
Python 2.7.15rc1
I also tried reinstalling, the following packages were reinstalled, issue still exists:
Successfully installed addic7ed-cli-1.4.5 certifi-2019.3.9 chardet-3.0.4 cssselect-1.0.3 idna-2.8 lxml-4.3.3 pyquery-1.4.0 requests-2.22.0 urllib3-1.25.3
Edit:
I just tried using Python 3.6.7
and still have the same issue.
Add a switch/config file option to add "forced" into the path of the output filename. Plex can interpret these and appropriately tag them as "forced" subtitle tracks.
Ex: Madam.Secretary.S03E05.The.French.Revolution.1080p.x264.DTS.eng.forced.srt
First, thanks a lot for your script.
Just a minor drawback, though:
When I use the command: addic7ed -i -bb supernatural.1111.hdtv-lol[ettv].mp4
I got :
------------------------------
Target SRT file: supernatural.1111.hdtv-lol[ettv].srt
Supernatural - 01x01 - Pilot
English - DVDRip.SAiNTS Completed
I have to change the name and write : addic7ed -i -bb supernatural.S11E11.hdtv-lol[ettv].mp4
**
to obtain the good file:
------------------------------
Target SRT file: supernatural.S11E11.hdtv-lol[ettv].srt
Supernatural - 11x11 - Into the Mystic
English - DIMENSION Completed
At first, i thought the script could not understand: 1111 = S11E11
Yet, when I write addic7ed -i -bb supernatural.111.hdtv-lol[ettv].mp4
the script manage to understand 111 = S1E11
------------------------------
Target SRT file: supernatural.111.hdtv-lol[ettv].srt
Supernatural - 01x11 - Scarecrow
English - DVDRip.SAiNTS Completed
Is it possible to correct this?
Thanks
Python version: ActivePython 2.7.2.5
fails with error:
"language.py", line 10 SyntaxError: Non-ASCII character '\xc3' in file addic7ed_cli\language.py on line 10, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Suggested fix: Declare utf-8 encoding for the file:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
Hi,
When trying to download subs for the good wife s07e22, the sub for s01e01 is downloaded :
Target SRT file: /The Good Wife/Season 7/The.Good.Wife.S07E22.HDTV.x264-LOL.srt
The Good Wife - 01x01 - Pilot
French - DVDRip Completed
I think it's happening with all episodes not yet listed on addic7ed.
Thanks for your script and your hard work !
I'm trying to run addic7ed/tests/test_addic7ed.py. I'm getting weird behavior and a syntax error (python 2.7.3):
joel@joel-laptop:~/addic7ed-cli/addic7ed/tests$ ./test_addic7ed.py
from: can't read /var/mail/unittest
./test_addic7ed.py: line 6: syntax error near unexpected token `('
./test_addic7ed.py: line 6: `s = lambda *args: set(args)'
joel@joel-laptop:~/addic7ed-cli/addic7ed/tests$
On top of that, my cursor turns into a cross two seconds after the first line of output and the test freezes until I click somewhere. Then comes the syntax error.
In order for Plex to know the language of the subtitle, you need to have the ISO 639 as part of the filename. Could support for that be added to this already amazing tool?
Ex:
Instead of
Person of Interest - S04E22 - YHWH.srt
add the language tag before srt
Person of Interest - S04E22 - YHWH.eng.srt
How do I use the [session] attribute in the config file? Please explain. Also, please explain the flags with descriptions of what each flag does exactly.
addic7ed version 1.2
[f3bruary:/media/]$ addic7ed search Ray\ Donovan\ -\ 3x12\ -\ Exsuscito\ -\ lol.mp4
Target SRT file: Ray Donovan - 3x12 - Exsuscito - lol.srt
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/pyquery/pyquery.py", line 66, in fromstring
result = getattr(etree, meth)(context)
File "lxml.etree.pyx", line 3103, in lxml.etree.fromstring (src/lxml/lxml.etree.c:70569)
File "parser.pxi", line 1828, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:106403)
File "parser.pxi", line 1716, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:105194)
File "parser.pxi", line 1086, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:99876)
File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94350)
File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:95786)
File "parser.pxi", line 631, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:95065)
lxml.etree.XMLSyntaxError: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/addic7ed", line 9, in
load_entry_point('addic7ed-cli==1.2', 'console_scripts', 'addic7ed')()
File "/usr/lib/python3.4/site-packages/addic7ed_cli/init.py", line 285, in main
globals()namespace.command
File "/usr/lib/python3.4/site-packages/addic7ed_cli/init.py", line 140, in search
SearchUI(arguments).launch()
File "/usr/lib/python3.4/site-packages/addic7ed_cli/ui.py", line 135, in launch
self.launch_file(file)
File "/usr/lib/python3.4/site-packages/addic7ed_cli/ui.py", line 116, in launch_file
search_results = search(query)
File "/usr/lib/python3.4/site-packages/addic7ed_cli/episode.py", line 101, in search
for link in results('.tabel a')
File "/usr/lib/python3.4/site-packages/addic7ed_cli/request.py", line 24, in call
self._query = PyQuery(self.content)
File "/usr/lib/python3.4/site-packages/pyquery/pyquery.py", line 226, in init
elements = fromstring(context, self.parser)
File "/usr/lib/python3.4/site-packages/pyquery/pyquery.py", line 70, in fromstring
result = getattr(lxml.html, meth)(context)
File "/usr/lib/python3.4/site-packages/lxml/html/init.py", line 726, in fromstring
doc = document_fromstring(html, parser=parser, base_url=base_url, *_kw)
File "/usr/lib/python3.4/site-packages/lxml/html/init.py", line 614, in document_fromstring
value = etree.fromstring(html, parser, *_kw)
File "lxml.etree.pyx", line 3103, in lxml.etree.fromstring (src/lxml/lxml.etree.c:70569)
File "parser.pxi", line 1828, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:106403)
File "parser.pxi", line 1716, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:105194)
File "parser.pxi", line 1086, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:99876)
File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94350)
File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:95786)
File "parser.pxi", line 631, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:95065)
lxml.etree.XMLSyntaxError: None
Just found the addic7ed tool today.
Request:
is it possible to integrate a functionality where from a source ie /drive/tv-series all subfolders are being scanned for a show in need for a subtitle.
if a episode is found than cache this make a request to search addic7ed
if found than place it in the correct folder again where the file (mkv) exist.
if found remove from request list.
Scan disk 1x every x minutes
request by cron
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.