Open gylgamesh opened 4 years ago
I also want to ask about the examples/syntax in:
Tools > Options > RSS > Download REPACK/PROPER episodes > Filters
which are:
s(\d+)e(\d+) (\d+)x(\d+) (\d{4}[.-]\d{1,2}[.-]\d{1,2}) (\d{1,2}[.-]\d{1,2}[.-]\d{4})
Are those examples, or the syntax for the Filters: explained in detail anywhere?
Thanks.
@gylgamesh
I also want to ask about the examples/syntax in:
These are regular expressions, also known as regex and regexp: https://en.wikipedia.org/wiki/Regular_expression.
Beware that different regex "flavors" have different feature sets (though they share most common features) - example: https://stackoverflow.com/a/3226376
qBittorrent uses Qt's regex engine of course (for RSS filter syntax, specifically, it uses the newer QRegularExpression
API in Qt5). Here are some details about it:
https://doc.qt.io/qt-5/qregularexpression.html#details
Basically, it implements Perl-compatible regular expressions (PCRE), which is probably the most famous regex flavor and is widely documented. The linked page also links you to good authoritative references on the subject.
You can experiment with regexes in a site like https://regexr.com/ Python has a very good tutorial (programming focused of course): https://docs.python.org/3/howto/regex.html. And here is the documentation for the module: https://docs.python.org/3/library/re.html However, I don't think they are fully PCRE compatible unfortunately. Still, a good way to learn if you already know Python.
Dupes:
Are these all dupes of #12957
qBittorrent version and Operating System
4.2.5 Windows 7 x86 (6.1.760x)
What is the problem
The matching RSS Articles that should be downloaded in the set Directory are being found and displayed in the Matching RSS Articles, but not downloaded in the specified folder anymore, and the Last Match: N days is also not the date of the last match, but of the last match that was downloaded in the set Directory.
What is the expected behavior
The matching RSS Articles should always be downloaded in the Directory set for them.
Steps to reproduce
Extra info
This feature partially worked in earlier versions, maybe qBT 4.2.2 and 4.2.3, but even those versions had a bug: if two (or more) similar articles were in the same update of the RSS feed, one was downloaded in the correct folder, but the others not.
Many thanks for looking into this.