Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ImgurBridge] Web-scraping imgur bridge #1825

Closed
wants to merge 3 commits into from

Conversation

SpangleLabs
Copy link
Contributor

A bit of a request for comment really. A start of what #1068 wants. Scrapes the website rather than using the API like #1662.
For filling in timestamp, content, and enclosures, it would need to request the page for each post in the feed, is this what we want? That seems rather heavy, are there other bridges that do this so I can understand our best practice around caching in that instance?

Alternatively on timestamps, imgur does say "4 hours ago" on the search page, and maybe I could parse that, but it would be messy, changing frequently.

@SpangleLabs SpangleLabs changed the title [ImgurBridge] New imgur bridge [ImgurBridge] Web-scraping imgur bridge Oct 27, 2020
@SpangleLabs
Copy link
Contributor Author

Taking a look at other PRs, namely #1836, I can see that yeah, fetching the page for every item in the feed is accepted practice. So I can add that later I think

@SpangleLabs
Copy link
Contributor Author

I think it's best to just close this, as #1662 or similar is going to be a better solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant