learning-feeds's People
learning-feeds's Issues
Deploy New Instance
Use azure/aci-deploy.
c.f. https://learn.microsoft.com/en-us/azure/container-instances/container-instances-github-action
- Update .github/workflows/build-and-push.yaml to deploy a new container instance
Courses By Author
Create a feed of courses by author slug.
e.g. GET /courses?author=scott-simpson would return a feed for courses released by Scott.
Atom: Add Self Link
- Set up DNS for the Azure Container Instance
- Add self link to the feed: https://validator.w3.org/feed/docs/warning/MissingSelf.html
Courses By Skill
Create a feed of courses by skill slug.
e.g. GET /courses?skill=generative-ai would return a feed for courses that are tagged with the skill for 'Generative AI'.
Add Feed Entry Categories
Each entry should include categories for associated:
- authors
- skills
Each category should contain:
- term (slugified value of the category)
- label (human readable)
The terms can be used as filters against the feed.
/learningAssets fails to load with 400 Bad Request LinkedIn-Version Header Missing
Running the loader fails with an error response from api.linkedin.com.
Example URL where the request fails:
Odd observation is that the first 1-2 requests (start=0, start=100) are successful, but the 3rd request fails.
Headers:
{'Content-Type': 'application/json', 'X-RestLi-Protocol-Version': '1.0.0', 'Date': 'Mon, 11 Mar 2024 18:09:52 GMT', 'X-Li-Fabric': 'prod-ltx1', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Li-Source-Fabric': 'prod-lor1', 'X-Li-Pop': 'prod-lor1-x', 'X-LI-Proto': 'http/1.1', 'X-LI-UUID': 'AAYTZnKpU1G2jqVcD/DQQw==', 'Set-Cookie': 'bcookie="SNIP"; domain=.linkedin.com; Path=/; Secure; Expires=Tue, 11-Mar-2025 18:09:52 GMT; SameSite=None, lidc="b=TB79:s=T:r=T:a=T:p=T:g=3422:u=1:x=1:i=1710180591:t=1710185591:v=2:sig=AQG_5P9tLxXfrH-zNk--XPYkV-r2g9zG"', 'X-LI-Route-Key': '"b=TB79:s=T:r=T:a=T:p=T:g=3422:u=1:x=1:i=1710180591:t=1710185591:v=2:sig=AQG_5P9tLxXfrH-zNk--XPYkV-r2g9zG"'}
Body:
{'status': 400, 'code': 'VERSION_MISSING', 'message': 'A version must be present. Please specify a version by adding the LinkedIn-Version header.'}
Steps to Reproduce:
CLIENT_ID=... CLIENT_SECRET=... python learning-feeds/loader/loader.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.