You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Perform the feed parsing * @private * @param {FeedParser} feedparser feedparser instance to use for parsing a retrieved feed */get(feedparser){request.get({url: this.url,headers: {'user-agent': this.userAgent,accept: ALLOWED_MIMES.join(','),},}).on('response',(res)=>{if(res.statusCode!==RESPONSE_CODES.OK){this.handleError(newFeedError(`This URL returned a ${res.statusCode} status code`,'fetch_url_error',this.url));}}).on('error',()=>{this.handleError(newFeedError(`Cannot connect to ${this.url}`,'fetch_url_error',this.url));}).pipe(feedparser).on('end',()=>{});}
If you have alternatives to rss-feed-emitter, please feel free to let me know. Personally, just for this I don't want to maintain a fork, since you can get notifications from github directly (which was not the case when this project was born).
By end of 2019 Github announced that they would deprecate the possibility to pass an access token as query parameter in the URL.
https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters
It seems to me (from error messages) that alerthub is trying to do exactly that and is therefore not working.
Please consider changing the mechanism so the token gets passed as HTTP Authorization header: 'token $token'
The text was updated successfully, but these errors were encountered: