Skip to content

Commit

Permalink
Update user-agent
Browse files Browse the repository at this point in the history
The old User-Agent `Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0` is probably blocked by addic7ed
  • Loading branch information
assafmo authored Apr 2, 2018
1 parent d4e0018 commit 3e3f0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var request = require('request-promise-native'),

function search (show, season, episode, languages) {
var headers = {
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0'
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36'
};

return request({
Expand Down

0 comments on commit 3e3f0b9

Please sign in to comment.