RSSHub icon indicating copy to clipboard operation
RSSHub copied to clipboard

RSS support for Quora

Open Ynjxsjmh opened this issue 5 years ago • 5 comments

Website URL

https://www.quora.com/

What content should be included?

RSS support for

  • [ ] user profile pages
  • [ ] user question pages
  • [ ] user answer pages
  • [ ] topic pages
  • [ ] topic best questions pages

Additional description

Ynjxsjmh avatar May 06 '19 08:05 Ynjxsjmh

+1

LakeishaKowalczyk avatar Oct 31 '19 16:10 LakeishaKowalczyk

+1 Please add the support

naveenmalla2018 avatar Apr 21 '20 23:04 naveenmalla2018

I tried to implement that weeks ago, but unfortunately I don't know why I couldn't access quora and code below throws the error read ECONNRESET: target website might be blocking our access, you can host your own RSSHub instance for a better usability. while python code can.

module.exports = async (ctx) => {
    const id = ctx.params.id;

    const response = await got({
        method: 'get',
        url: `https://www.quora.com/profile/${id}`,
        headers: {
            ...utils.header,
            Referer: `https://www.quora.com/profile/${id}`,
        },
    });

    const data = response.data;
}

Ynjxsjmh avatar Apr 22 '20 12:04 Ynjxsjmh

https://github.com/DIYgod/RSSHub/issues/6642

NeverBehave avatar Jan 11 '21 05:01 NeverBehave

I tried to implement that weeks ago, but unfortunately I don't know why I couldn't access quora and code below throws the error read ECONNRESET: target website might be blocking our access, you can host your own RSSHub instance for a better usability. while python code can.

module.exports = async (ctx) => {
    const id = ctx.params.id;

    const response = await got({
        method: 'get',
        url: `https://www.quora.com/profile/${id}`,
        headers: {
            ...utils.header,
            Referer: `https://www.quora.com/profile/${id}`,
        },
    });

    const data = response.data;
}

https://github.com/DIYgod/RSSHub/blob/fa81ed9f0f0a6ffbacc49cccef42e07258d98250/test/middleware/onerror.js

That basically means an 404 error occur.

NeverBehave avatar Jan 11 '21 05:01 NeverBehave