Closed sinancetinkaya closed 1 year ago
You're setting the user agent to emulate Firefox.. We shouldn't emulate a browser, but be honest and include a valid user agent. The XMLTV::Get_nice module sets the agent to "xmltv/$XMLTV::VERSION"
If a provider chooses to block us based on the user agent, that means they don't allow us to scrape their site... we should abide by that.
Ah, ok then
Thanks for taking the time to open a Pull Request (PR). Please take a moment to review our open/closed PRs above, in case a similar contribution has already been offered.
If you are opening a new Pull Request, please give it a descriptive title and fill out the blanks below, providing as much information as possible.
Pull Requests should be made against our master branch, and rebased if necessary.
What type of Pull Request is this?
Does this PR close any currently open issues?
(If yes, please provide the issue number)
192
Please explain what this PR does
…
Any other information?
(For example, has this change been discussed on the xmltv-devel mailing list?) …
Where have you tested these changes?
Operating System: …
Perl Version: …