Alex313031 / Alex313031/PiCalc-Win
I am completely destroyed ko dislocated : it is impossible to delete blocklist in icon.js and core.js of Live stream downloader !!!
- Dominant language
- C++
- Stars
- 6
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I know this is off topic mais we konw great Mr @Alex313031 is so generous charitable !
alos let's remember i have old weak eee pc so watching streaming video often lags with SD and HD videos ......
So today, I discovered a crucial secret:
I was happy and proud. I thought I am become an expert in code manipulation because I managed to clear LSD's blocklist in network/v3/blocked.json!
But I noticed something strange: Live Stream Downloader turns red when I visit YouTube, and LSD refuses to download audio dash from YouTube.
So I contacted Mr. Chandler to explain to me this mystery because I deleted the blocklist and LSD is supposed to download YouTube videos, and Mr. Chandler revealed this crucial secret to me:
"The extension updates block list once per while;" in icon.js.
https://github.com/chandler-stimson/live-stream-downloader
I am completely destroyed, ko dislocated!!!
I took a look at the contents of icon.js to see if I can clear the blocklist, but the code is so complicated, and I don't know what to delete to clear the blocklist. I also suspect that core.js may also contain the blocklist code!
I have a life-saving request to the generous, charitable great hero Mr Alex313031 please :
so in chrome and firefox I use LSD because I can download vidmoly videos without playback and I need to delete the blocklist of LSD because maybe in the future, Vidmoly will be added to the blocklist, and I need reassurance.
So my request, please: since the blocklist code in icon.js is so complicated and I don't know what to delete exactly to remove the blocklist, could you please send me the contents of icon.js and core.js, purified from the blocklist contents please?
Thanks a lot :)
Update:
aieeee, just now my fears are confirmed. I took a look at core.js and saw these blocklist settings :(
I think the best thing please is the hero Mr Adeii offers to humanity a regulary updated fork of Live Stream Downloader extension by removing all the blocklist-related settings. Thanks!
:
/* do not allow downloading from blocked resources
two types:
block same-origin streams on a host: {"type": "host", "value": ".youtube.com"}
block streams on selected hosts: {"type": "stream", "value": ".gstatic.com", "hosts": ["*"]}
*/
network.blocked = () => network.hosts().then(a => {
// Currently only supports "host" and "stream" types
const hosts = a.filter(o => o.type === 'host');
const streams = a.filter(o => o.type === 'stream');
return d => {
// block same-origin streams for blocked hosts
if (d.host) {
for (const o of hosts) {
if (d.host.includes(o.value) && d.host.split(o.value)[0].split('/').length === 3) {
if (d.stream.includes(o.value)) {
return {
value: true,
reason: Downloading from "${o.value}" host is blocked
};
}
}
}
}
// block streams on defined hosts
Contributor guide
No contributing guide indexed for this repository
Research direction
This issue is filed in PiCalc-Win but asks for changes to the unrelated Live Stream Downloader project. Start by confirming the repository and reviewing the referenced icon.js, core.js, and network/v3/blocked.json files in the linked project. The requested outcome is an updated fork without blocklist-related settings, but the scope and implementation are not defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 1/100