reddit2telegram icon indicating copy to clipboard operation
reddit2telegram copied to clipboard

Underlying mechanics

Open gi-dellav opened this issue 2 years ago • 8 comments

Hi, I wanted to ask how do you scrape the posts from Reddit, consider the future price changes for the API? Do you still use the API or do you scrape the HTML with something Selenium or BeautifulSoup? Thanks in advance.

gi-dellav avatar Jun 25 '23 13:06 gi-dellav

Welcome to the reddit2telegram comunity!

github-actions[bot] avatar Jun 25 '23 13:06 github-actions[bot]

Hi, I wanted to ask how do you scrape the posts from Reddit, consider the future price changes for the API? Do you still use the API or do you scrape the HTML with something Selenium or BeautifulSoup? Thanks in advance.

I consider continuing to use API. Any concerns?

Fillll avatar Jun 25 '23 14:06 Fillll

Isn't the price going to be extremely High?

Il Dom 25 Giu 2023, 16:20 Fillll @.***> ha scritto:

Hi, I wanted to ask how do you scrape the posts from Reddit, consider the future price changes for the API? Do you still use the API or do you scrape the HTML with something Selenium or BeautifulSoup? Thanks in advance.

I consider continuing to use API. Any concerns?

— Reply to this email directly, view it on GitHub https://github.com/Fillll/reddit2telegram/issues/235#issuecomment-1606110595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOSSVFDHQPQULRAGSBS2R73XNBCLZANCNFSM6AAAAAAZTERXEY . You are receiving this because you authored the thread.Message ID: @.***>

gi-dellav avatar Jun 25 '23 14:06 gi-dellav

I hope we'll fit in 100 requests per minute. Otherwise, yes, extremely high. :(

Fillll avatar Jun 25 '23 14:06 Fillll

I understand. I Will probably for my own project develop a scraper library. If you want to collaborate, hit me up.

gi-dellav avatar Jun 25 '23 14:06 gi-dellav

That will be interesting. Any chance you share your work? Will I be able to use it for this project?

On Jun 25, 2023, at 10:39 AM, djtech-dev @.***> wrote:

I understand. I Will probably for my own project develop a scraper library. If you want to collaborate, hit me up.

— Reply to this email directly, view it on GitHub https://github.com/Fillll/reddit2telegram/issues/235#issuecomment-1606116741, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE3M3J3BHU7AZ7PKRVOM63XNBESVANCNFSM6AAAAAAZTERXEY. You are receiving this because you commented.

Fillll avatar Jun 25 '23 16:06 Fillll

As all my projects, it will be released under the MIT License, so yes.

The only problem is time; i'm already working on a big project in Rust, so I don't have really that much time; i'll probably just develop a basic version (basic support for posts scraping) and try to find a mantainer.

gi-dellav avatar Jun 25 '23 17:06 gi-dellav

Beacuse for my project only a basic feature (get top posts from a subreddit, media/video can be ignored, but an implementation for media support is a good idea) is needed; so I don't know how "complete" the first version will be, but I think that something like your project can work with no problems with the feature described above.

gi-dellav avatar Jun 25 '23 17:06 gi-dellav