Difference between revisions of "User:Vxbinaca"

From Archiveteam
Jump to navigation Jump to search
 
(15 intermediate revisions by the same user not shown)
Line 11: Line 11:
We'll use the python Pip repository instead. We'll also be assuming you're using Ubuntu.
We'll use the python Pip repository instead. We'll also be assuming you're using Ubuntu.


: ''sudo apt-get install python-pip atomicparsley''
: ''sudo apt-get install ffmpeg h.264 python-pip atomicparsley''


: ''sudo -H pip install --upgrade pip youtube_dl''
: ''sudo -H pip install --upgrade pip youtube-dl''


== Using a config ==
== Using a config ==
Line 19: Line 19:
Youtube-dl allows you to use a config to set default behavior. This is useful instead of aliasing in .bashrc because pipes or screen instances or trickle do not recognize aliases when running a command prepend with screen or trickle.
Youtube-dl allows you to use a config to set default behavior. This is useful instead of aliasing in .bashrc because pipes or screen instances or trickle do not recognize aliases when running a command prepend with screen or trickle.


: ''echo "--download-archive ~/.ytdlarchive --retries 100 --no-overwrites --call-home --continue --write-info-json --write-description --write-thumbnail --write-annotations --all-subs --sub-format srt --convert-subs srt --write-sub --add-metadata -f bestvideo+bestaudio/best --merge-output-format 'mkv' --embed-subs --prefer-ffmpeg --embed-thumbnail" > ~/.config/youtube-dl.conf''
: ''echo "--download-archive ~/.ytdlarchive --retries 100 --no-overwrites --call-home --continue --write-info-json --write-description --write-thumbnail --write-annotations --all-subs --sub-format srt --convert-subs srt --write-sub --add-metadata -f bestvideo+bestaudio/best --merge-output-format 'mkv' --prefer-ffmpeg --embed-thumbnail" > ~/.config/youtube-dl/config''


To temporarily ignore these changes use ''--ignore-config''. To revert back to normal, ''rm ~/.config/youtube-dl.conf''.
To temporarily ignore these changes use ''--ignore-config''. To revert back to normal, ''rm ~/.config/youtube-dl/config''.


==Upgrading Youtube-dl==
==Upgrading Youtube-dl==
Line 81: Line 81:




= How to play Wikipedia =


If you believe that collaborative editing is the best way to improve Wikipedia, then I suggest you do not read this article.


=== Always follow NPOV ===


==== Be first ====
===MAD reuploaders who don't create content===
[https://www.youtube.com/channel/UC_FbqXQxS3FBMdlzW4oICNQ Sibho]
[https://www.youtube.com/user/Rlcemaster3 Rlcemaster3]
[https://www.youtube.com/user/ARetaproductions HyperFlameXLI]


Don't let people [[Wikipedia:Information suppression|suppress the information you have to share]].  It doesn't matter what you have to say, ''as long as you say it right''.
These guys require you only rip their video descriptions and filter them for NicoNico links:


==== Edit articles that are missing your information ====
Example:


The best choices are articles that are not edited very frequently. [[Republican Party|Republicans]] are always hanging out at the [[George W. Bush]] article so it will take a lot of bickering, detailed knowledge and time to improve that article. Start somewhere else that is equally lacking in your perspective.
youtube-dl --ignore-config --write-description --skip-download https://www.youtube.com/user/HelloSibho/videos ; cat *.description | grep niconico > ~/sibho.txt


==== Get someone else to trigger the 3RR ====
This will get you most of the way to cleaning up the links. There will be some text that has to be manually cut out. However once that's done you can:


Don't revert NPOV changes made by other people. Instead, make your own changes that other people will want to revert.  Then, you can report them for violating 1RR or, even better, [[Wikipedia:3RR|3RR]].
cat ~/sibho.txt | xargs | > sibho-processed.txt


==== Phrase statements in a neutral manner to be NPOV ====
And it will be put into a nice string of URLs that can be pasted into the end of tubeup.


Use "some argue".  Note the difference between the following two statements:
=Future targets for archival=


* POV: George W. Bush is a terrorist.
==Kraut And Tea==
* NPOV: Some argue that George W. Bush is a terrorist.


The first statement is clearly POV and should be immediately deleted. But, the second is a [[WP:WEASEL|paragon of impartiality and a neutral point of view]]. When "some argue" doesn't feel right, try using "many critics". "Concerns about" also works quite well. Make up your own once you get better at it. Here are some examples:
https://www.youtube.com/channel/UCr_Q-bPpcw5fJ-Oow1BW1NQ/videos<br>
https://www.youtube.com/channel/UCf6G3eRxTfWAgrg5053Iaeg/videos<br>
https://www.youtube.com/channel/UCZUzkuF4dd2cHpyOldOT3ww/videos<br>


* [http://www.google.com/search?q=%22some%20argue%22%20site%3Awikipedia.org Past NPOV phrasing using "some argue"]
==Sex-negative feminism==
* [http://www.google.com/search?q=%22many%20critics%22%20site%3Awikipedia.org Past NPOV phrasing using "many critics"]
* [http://www.google.com/search?q=%22concerns%20about%22%20site%3Awikipedia.org Past NPOV phrasing using "concerns about"]


==== Google is the best way to cite ====
https://www.youtube.com/user/SayNOtoSadomasochism/<br>
 
https://www.youtube.com/channel/UCT77XiLvDnBCWNu1mnpN7bw<br>
[[Wikipedia:Cite your sources|Cite your sources]]. For example, I wanted to cite the sentence below (which was already NPOV, but let's say someone disputed that anyone had said that). Well, Google proves them "wrong":
https://www.youtube.com/channel/UC15O-PdMcy4VIq93Krj9V-w<br>
 
https://www.youtube.com/channel/UCC1qS33GV7SWlTa9PXNTBjw<br>
* Some argue that George W. Bush is a terrorist. <nowiki><ref>[http://www.nogw.com/ "George W. Bush - Terrorist in the White House"]</ref></nowiki> See using [[Help:Footnotes]].
https://www.youtube.com/channel/UC976e0cSPSVSeMOT_cfRHbA<br>
 
https://www.youtube.com/channel/UC5CP5QHXNvJsi4Gczh-oDsQ<br>
=== Diversions ===
https://www.youtube.com/channel/UCaVFLmxpX-zw1o_U9pf2Wew<br>
 
https://www.youtube.com/user/Outinthelightwebsite/videos<br>
It's important to divert attention from any edit you make so partisans won't be able to suppress your information. One good way to do this is to make a series of edits, especially mixing in some grammar and spelling fixes.  Putting a minor edit on top can't hurt, so do that too.  A lot of people just check the top edit.
https://www.youtube.com/channel/UCD45nGjBYtEcVXFqXk7LUjg<br>
 
=== Be nice ===
 
Always be painfully nice to anyone who disagrees with you.  Remember, like any game, the point is to let the other team foul more often than you foul.  If you have conviction and belief in your edits, someone who doesn't will probably get angry at you because they failed to suppress your information.  And ''someone who is angry is much less likely to get in your way''.  Why?  Because emotional people can't be bothered to follow the rules and they always get in trouble.
 
=== Blocking ===
 
It's always important to bring in a neutral third party, ideally a friend, to block anyone the moment they violate a rule.  Once they've been blocked, it will be very hard for them to suppress your information.
 
=== Page protection ===
 
If you have gotten the article ''just right'' in an edit war, it's a good idea to stop anyone from making further changes that will change it from being NPOV to POV.  Quickly hop on IRC (#wikipedia on irc.freenode.net) and ask a neutral third-party to protect the page, ideally someone who hasn't been following the edit war so you can get them to protect [[m:the wrong version|the right version]].
 
=== Don't own up to your philosophy ===
 
Whoever you voted for, whatever you believe, don't put it into your User page. All it's going to do is encourage someone from the other side to stand overlord over your pages. Seriously, what will it buy you?  It's better to hide the real you, whatever it is.  This place is not about being honest about who you are.
 
From #wikipedia:
<pre>
[8:57pm] <ambi2> these userboxen are informative.
[8:57pm] <ambi2> i just found that *another* user i previously respected is a right-wing asshole.
</pre>
 
=== Pick examples with care ===
 
Let's say you are writing an article that includes some amount of criticism. Yes, you could use negative examples from both sides, but it would make your point better to use related examples many times. It's only more confusing to switch around and use examples from "both sides".  Likewise, so-called counterbalancing points will only obscure matters.
 
=== Rename deleted articles ===
 
If you create a new article, and someone attempts to get it deleted, then they will probably quote a policy to censor you. Do not let censors get in the way of your new article. It is not your fault that people are unable to get the point of what you are trying to say.  If they succeed, you can always recreate the article.  The key is to name it something else.  If you name it the same thing, then someone is more likely to notice.  It isn't your fault that people are unable to follow your advanced thinking.
 
=== Attract your enemy with a diversion ===
 
If you are an advanced user, it is often appropriate to create articles that are intended to attract censors (such as [[Santorum (sexual slang)]]).  This is similar to the George Bush strategy of invading Iraq to attract terrorists.  Yes, censors are like terrorists, except that they don't blow things up or kill people.  They only kill ideas.  Anyhow, make sure it will be hard to delete your offensive article by basing on some external web thing that you and your friends created.  Then, it will be NPOV and the censors will only waste their time.
 
=== Delete whatever offends you quickly ===
 
The key is to delete articles that offend you quickly. The longer you wait, the more people will be editing the article and the higher the chance you will lose.  You will also look more like a censor if there is a lot of information in the article at the time you delete it.  If you want to win, delete quickly.  Ideally, employ the speedy deletion policy.

Latest revision as of 05:29, 11 July 2018

How I archive YouTube videos

The system I currently have down is this: Go through my subs and set it to notify me via email of new uploads. This makes a target channel easier to maintain it's item on archive.org.

First we gotta set up YouTube DL. We're using Linux/Mac for this, and sourcing the youtube-dl binary from the python repository Pip.

Setting up Youtube-dl

Do not install youtube-dl from Ubuntu/Apple repository. It's probably stale, and may lack key features we need, or buggy and not updated by the maintainer.

We'll use the python Pip repository instead. We'll also be assuming you're using Ubuntu.

sudo apt-get install ffmpeg h.264 python-pip atomicparsley
sudo -H pip install --upgrade pip youtube-dl

Using a config

Youtube-dl allows you to use a config to set default behavior. This is useful instead of aliasing in .bashrc because pipes or screen instances or trickle do not recognize aliases when running a command prepend with screen or trickle.

echo "--download-archive ~/.ytdlarchive --retries 100 --no-overwrites --call-home --continue --write-info-json --write-description --write-thumbnail --write-annotations --all-subs --sub-format srt --convert-subs srt --write-sub --add-metadata -f bestvideo+bestaudio/best --merge-output-format 'mkv' --prefer-ffmpeg --embed-thumbnail" > ~/.config/youtube-dl/config

To temporarily ignore these changes use --ignore-config. To revert back to normal, rm ~/.config/youtube-dl/config.

Upgrading Youtube-dl

sudo -H pip install --upgrade youtube_dl

The upgrade schedule for the script is bi-weekly, so try to check for updates once every week or so, or daily if you're really thirsting for a fix to a problem you've reported. I've seen examples of multiple updates being pushed in a week.

Bandwidth management

Use the -r flag to limit bandwidth consumption. Example:

youtube-dl -r 100K [URL]

To rip a video or channel at 100kbps.


Ripping private Google Drive videos

Okay so you got a video shared with you and the owner doesn't alllow downloading. while this method doesn't get a 1:1 copy of the file it's still quite good and much better than nothing or screen capturing the file.

This involves just just a few steps. You'll need:

This downloads the actual video.

We need to get your Google cookie. We need this because you need to be logged in to see the video, or more accurately youtube-dl needs to be logged in to see the page so it can extract the video.

Ready?

Get the link

Go to your email and find the share notification email. This is the easiest method of getting the link we need to feed into youtube-dl.

It should look something like this:

https://drive.google.com/file/d/0B_vK3fbXlLEFM19MQl9nT3dBVEE/view

Put that somewhere you can get back to because you'll need it later.

Getting your Google drive cookie

You need to be signed in so Youtube-dl can see the video to extract it. In order for Youtube-dl to sign in we need to use your cookie. With Cookies.txt installed, open a new tab and head to drive.google.com. A new button appeared when you installed cookies.txt. Click this button and it will give you the contents of your cookie. Copy and paste this into a file on your desktop.

I'm calling mine drive-cookie.txt.

Ripping the video

Put youtube-dl on your desktop along with the coolie text file. open cmd or your command line program, navigate to your desktop. Remember that video link sent in the email when the item was shared with you? We need that too.

Run:

youtube-dl.exe --continue --cookies drive-cookie.txt -f best https://drive.google.com/file/d/0B_vK3fbXlLEFM19MQl9nT3dBVEE/view

This will use the cookie to sign in to your google account, and download that video.



MAD reuploaders who don't create content

Sibho Rlcemaster3 HyperFlameXLI

These guys require you only rip their video descriptions and filter them for NicoNico links:

Example:

youtube-dl --ignore-config --write-description --skip-download https://www.youtube.com/user/HelloSibho/videos ; cat *.description | grep niconico > ~/sibho.txt

This will get you most of the way to cleaning up the links. There will be some text that has to be manually cut out. However once that's done you can:

cat ~/sibho.txt | xargs | > sibho-processed.txt

And it will be put into a nice string of URLs that can be pasted into the end of tubeup.

Future targets for archival

Kraut And Tea

https://www.youtube.com/channel/UCr_Q-bPpcw5fJ-Oow1BW1NQ/videos
https://www.youtube.com/channel/UCf6G3eRxTfWAgrg5053Iaeg/videos
https://www.youtube.com/channel/UCZUzkuF4dd2cHpyOldOT3ww/videos

Sex-negative feminism

https://www.youtube.com/user/SayNOtoSadomasochism/
https://www.youtube.com/channel/UCT77XiLvDnBCWNu1mnpN7bw
https://www.youtube.com/channel/UC15O-PdMcy4VIq93Krj9V-w
https://www.youtube.com/channel/UCC1qS33GV7SWlTa9PXNTBjw
https://www.youtube.com/channel/UC976e0cSPSVSeMOT_cfRHbA
https://www.youtube.com/channel/UC5CP5QHXNvJsi4Gczh-oDsQ
https://www.youtube.com/channel/UCaVFLmxpX-zw1o_U9pf2Wew
https://www.youtube.com/user/Outinthelightwebsite/videos
https://www.youtube.com/channel/UCD45nGjBYtEcVXFqXk7LUjg