Clueless-Community / scrape-up

A web-scraping-based python package that enables you to scrape data from various platforms like GitHub, Twitter, Instagram, or any useful website.
https://pypi.org/project/scrape-up/
MIT License
251 stars 241 forks source link

feat: add scraper for omdena and methods for retrieving datasets, projects and blogs #1107

Closed arpy8 closed 3 months ago

arpy8 commented 5 months ago

Description

I've added the Omdena class which has three methods: get_datasets(), get_projects(), and get_blogs(). These methods allow users to retrieve information about datasets, ongoing projects, and latest blogs from Omdena.

Resolves: #1099

Checklist

Before submitting this pull request, kindly verify that the ensuing checkpoints have been reached.

Screenshots

class: image

working example: image

Additional Notes/Comments

I've also upated the dev-documentation and have added omdena.md in docs/modules

I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request. I appreciate your contribution.

arpy8 commented 5 months ago

Hi @nikhil25803 , thanks for pointing this out. There must be some exception that's getting triggered, could you please switch the return type to print the exception so that I can see what's happening exactly. Unfortunately I won't be able to replicate the case since the code is getting executed successfully in my env.

from scrape_up.omdena import Omdena

omdena = Omdena()
projects = omdena.get_projects()
print(projects)

image

image