geosone / seriesrenamer

Automatically exported from code.google.com/p/seriesrenamer
0 stars 1 forks source link

Wrong RegExPattern for "TheTVDb". #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The RegExPattern ist wrong for "TheTVDb".
This is the actual pattern: <tr><td class="(odd|even)"><a 
href="/\?tab=series&amp;(?<link>.*?)">(?<name>.*?)</a> </td><td 
class="(odd|even)">(?<year>.*?)<td class="(odd|even)">\d+</td></tr>

This ist not working.
No Series come pack. The correct Seriesname are found.

I think the Website has change there layout.

Original issue reported on code.google.com by kappelma...@gmail.com on 24 Feb 2015 at 7:25

GoogleCodeExporter commented 8 years ago
Sorry, this is the wrong RegExPattern:
<tr><td class="(odd|even)"><a href=".*?">(?<Season>\d*) x 
(?<Episode>\d*)</a></td><td class="(odd|even)"><a 
href=".*?">(?<Title>.*?)</a></td><td class="(odd|even)">

Original comment by kappelma...@gmail.com on 24 Feb 2015 at 7:38

GoogleCodeExporter commented 8 years ago
okay, the RelationsRegExp is correct.
I have test it in my RegEx Tool.

Now I think, the problem is the URL:
RelationsPage=http://www.thetvdb.com/?tab=seasonall&%L

The Page need NOW:
http://thetvdb.com/?tab=seasonall&id=idID&lid=lidID

The program detect in the SearchResult this and put it in %L:
id=idID&lid=lidID

The "&" is to much!
The ";" must replace to "&"

The
RelationsPage=http://www.thetvdb.com/?tab=seasonall&%L
can I change in the configfile to:
RelationsPage=http://www.thetvdb.com/?tab=seasonall&%L

BUT the found %L can not change by configfile :(

Original comment by kappelma...@gmail.com on 24 Feb 2015 at 8:04

GoogleCodeExporter commented 8 years ago
I have found the Issue.

I will check in a new ConfigFile

Original comment by kappelma...@gmail.com on 24 Feb 2015 at 6:42

GoogleCodeExporter commented 8 years ago
I can not add something.

TortoiseSVN:
MKACTIVITY von »/svn/!svn/act/56fa42bc-c819-2245-ba0b-b8bd587ee793«: 403
 Forbidden (https://seriesrenamer.googlecode.com)

Code.Google:
Your client has issued a malformed or illegal request.

Original comment by kappelma...@gmail.com on 24 Feb 2015 at 7:21

GoogleCodeExporter commented 8 years ago
only Change

RelationsEnd=Original database website

to

RelationsEnd=<div class="footer">

and it Works 

Original comment by HausMa...@gmail.com on 24 Feb 2015 at 7:31

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Can anyone upload the fixed Series Renamer ? or the fixed TheTVDb.cfg file ?

Original comment by bastianb...@gmail.com on 24 Feb 2015 at 9:12

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
You must replace one line in the TheTVDB.cfg

only Change

RelationsEnd=Original database website

to

RelationsEnd=<div class="footer">

but her the file ...

Original comment by HausMa...@gmail.com on 25 Feb 2015 at 7:41

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Yes it works ! It works !
New comers, just download the TheTVDb.cfg in the post #9 , and find the file in 
the programs sub-directories and replace it.
Thats it ...

Original comment by bur...@gmail.com on 22 Mar 2015 at 8:33