mirror of
https://github.com/simon987/lbry_feed.git
synced 2025-04-10 14:16:43 +00:00
don't publish channel multiple times
This commit is contained in:
parent
e4b94ce045
commit
9ce05ddc78
1
lbry.py
1
lbry.py
@ -205,6 +205,7 @@ class LbryWrapper:
|
|||||||
if not published_channel_data:
|
if not published_channel_data:
|
||||||
channel_data = self._api.resolve([channel_url])[channel_url]
|
channel_data = self._api.resolve([channel_url])[channel_url]
|
||||||
yield channel_data, "channel"
|
yield channel_data, "channel"
|
||||||
|
published_channel_data = True
|
||||||
|
|
||||||
if not self._state.has_visited(claim["claim_id"]):
|
if not self._state.has_visited(claim["claim_id"]):
|
||||||
yield claim, "video"
|
yield claim, "video"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user