Skip to content

Instantly share code, notes, and snippets.

View ahmadkakarr's full-sized avatar

Ahmed Hassan Khan Kakar ahmadkakarr

  • Lahore, Punjab, Pakistan
View GitHub Profile
@scturtle
scturtle / feedly.py
Last active March 9, 2022 00:13
python scripts for feedly
import re
import json
import requests
URL_TO_SAVE = ('https://feedly.com/v3/streams/contents?'
'streamId=user%2F{}%2Ftag%2Fglobal.saved&count=100')
HEADERS = dict(l.strip().split(': ') for l in open('headers.txt').readlines()
if len(l.strip()))
USERID = re.search(r'"feedlyId":"([^"]+)"', HEADERS['Cookie']).group(1)