Skip to content

Commit

Permalink
Exclude TikTok live streams more thoroughly
Browse files Browse the repository at this point in the history
  • Loading branch information
stijn-uva committed Jan 15, 2025
1 parent 888e60b commit 8269aed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "MPL-2.0",
"title": "Zeeschuimer",
"upload_type": "software",
"version": "v1.11.3",
"version": "v1.11.4",
"keywords": [
"scraping", "data capture", "4cat", "instagram", "tiktok"
],
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Collect data while browsing social media platforms and upload it for analysis later",
"manifest_version": 2,
"name": "Zeeschuimer",
"version": "1.11.3",
"version": "1.11.4",
"homepage_url": "https://github.com/digitalmethodsinitiative/zeeschuimer",

"browser_specific_settings": {
Expand Down
6 changes: 3 additions & 3 deletions modules/tiktok.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ zeeschuimer.register_module(

if("ItemModule" in data) {
let r = Object.values(data["ItemModule"]);
return r;
return r.filter(x => !x.hasOwnProperty('liveRoomInfo'));
} else if ("itemList" in data) {
return data["itemList"];
return data["itemList"].filter(x => !x.hasOwnProperty('liveRoomInfo'));
} else if ("item_list" in data) {
return data["item_list"];
return data["item_list"].filter(x => !x.hasOwnProperty('liveRoomInfo'));
} else if ("data" in data) {
// search results "top results" (i.e. not the video tab)
let r = Object.values(data["data"]);
Expand Down
2 changes: 1 addition & 1 deletion popup/interface.html
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
<article>
<header>
<h1>Zeeschuimer</h1>
<span class="version"><a href="https://github.com/digitalmethodsinitiative/zeeschuimer/releases/tag/v1.11.3">v1.11.3</a></span>
<span class="version"><a href="https://github.com/digitalmethodsinitiative/zeeschuimer/releases/tag/v1.11.4">v1.11.4</a></span>
</header>
<section id="status">
<h2><span>Captured data objects</span></h2>
Expand Down

0 comments on commit 8269aed

Please sign in to comment.