Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
add: added IGTV scraper
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-greening committed Dec 14, 2020
1 parent 592e8f5 commit 9e19df7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions instascrape/scrapers/igtv.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from instascrape.scrapers.post import Post
from instascrape.core._mappings import _IGTVMapping


class IGTV(Post):
_Mapping = _IGTVMapping

@staticmethod
def _url_from_suburl(suburl: str) -> str:
return f"https://www.instagram.com/tv/{suburl}/"

0 comments on commit 9e19df7

Please sign in to comment.