Skip to content
New issue

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

Wrong RegExPattern for "TheTVDb". #46

Open
GoogleCodeExporter opened this issue Dec 2, 2015 · 11 comments
Open

Wrong RegExPattern for "TheTVDb". #46

GoogleCodeExporter opened this issue Dec 2, 2015 · 11 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 24 Feb 2015 at 7:25

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 24 Feb 2015 at 7:38

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 24 Feb 2015 at 8:04

@GoogleCodeExporter
Copy link
Author

I have found the Issue.

I will check in a new ConfigFile

Original comment by [email protected] on 24 Feb 2015 at 6:42

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 24 Feb 2015 at 7:21

@GoogleCodeExporter
Copy link
Author

only Change

RelationsEnd=Original database website

to

RelationsEnd=<div class="footer">

and it Works 

Original comment by [email protected] on 24 Feb 2015 at 7:31

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Can anyone upload the fixed Series Renamer ? or the fixed TheTVDb.cfg file ?

Original comment by [email protected] on 24 Feb 2015 at 9:12

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 25 Feb 2015 at 7:41

Attachments:

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 22 Mar 2015 at 8:33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant