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

LinkedIn Profile Scraper #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ASK-03
Copy link

@ASK-03 ASK-03 commented Jun 14, 2023

LinkedIn Profile scraper

The LinkedIn Profile Scraper is a tool designed to extract information from the profile page of a given URL on LinkedIn.

Pull request description

Created:

  • scraper.py
  • README.md
  • requirements.txt
  • json-schema

The scraper is under progress, this PR contains scraper with functionality to extract name, location and experience of the profile URL provided.

README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
Comment on lines +1 to +29
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/example.json",
"title": "Json schema for profile scraper",
"description": "Json schema for profile scraper",
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "URL of the person's profile"
},
"name": {
"type": "string",
"description": "Name of the person"
},
"location": {
"type": "string",
"description": "Location of the person"
},
"experience": {
"type": "array",
"description": "Experience of the person",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Title of the job"
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good but actually, it won't be directly usable in the code. I'd say use Python types instead. Learn about typing std lib in Python and maybe pydantic or dataclasses

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok... will do that

scraper.py Outdated Show resolved Hide resolved
scraper.py Outdated Show resolved Hide resolved
scraper.py Outdated Show resolved Hide resolved
scraper.py Outdated Show resolved Hide resolved
scraper.py Outdated Show resolved Hide resolved
scraper.py Outdated Show resolved Hide resolved
…es, added examples.config.ini, updated the README
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.

2 participants