Based on Flkalas' version 3.2 (which uses extractGraphQlMp4Video), I added (or fix) the ability to pull tweets that are replies (not retweets).
Previously, when downloading a video of a replying tweet based from another tweet's timeline, it triggers the blob video download and ultimately resulting in a broken .ts video file.
In addition, if the video is from someone else's article, the readable name indicates the article source (such as 'i-123456789'), not the actual tweet.
Now, the code should be able to pull video that is a reply, directly from the timeline. In the case of an error in doing such, the code will open a new tab consisting of the tweet's individual timeline page (user then clicks the download button again on that individual tweet timeline, and video can be downloaded). The intent is to minimize such error occurrence.
In the case of someone else's article, the readable name is now addressed to the current tweet which the user views.
Furthermore, I implemented the ability to pull videos and pictures (from the same tweet) simultaneously. The code now gathers a videoIndex to locate different videos properly from the grid containers.
Based on Flkalas' version 3.2 (which uses extractGraphQlMp4Video), I added (or fix) the ability to pull tweets that are replies (not retweets).
Previously, when downloading a video of a replying tweet based from another tweet's timeline, it triggers the blob video download and ultimately resulting in a broken .ts video file.
In addition, if the video is from someone else's article, the readable name indicates the article source (such as 'i-123456789'), not the actual tweet.
### Sample tweet that is a reply - https://twitter.com/HeavyMetalShip/status/1675359879157133312
Now, the code should be able to pull video that is a reply, directly from the timeline. In the case of an error in doing such, the code will open a new tab consisting of the tweet's individual timeline page (user then clicks the download button again on that individual tweet timeline, and video can be downloaded). The intent is to minimize such error occurrence.
In the case of someone else's article, the readable name is now addressed to the current tweet which the user views.
Furthermore, I implemented the ability to pull videos and pictures (from the same tweet) simultaneously. The code now gathers a videoIndex to locate different videos properly from the grid containers.
The code may pend future changes.