# Python program to get torrent magnet links of movies

**URL:** <https://onehack.st/t/python-program-to-get-torrent-magnet-links-of-movies/82325>\
**Category:** Tools & Scripts\
**Tags:** programming\
**Created:** [April 26, 2020, 5:59am UTC](https://onehack.st/t/python-program-to-get-torrent-magnet-links-of-movies/82325 "2020-04-26T05:59:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![toomuchsausage](https://onehack.st/letter_avatar_proxy/v4/letter/t/e95f7d/32.png) [@toomuchsausage](https://onehack.st/u/toomuchsausage)\
**Post date:** [April 26, 2020, 5:59am UTC](https://onehack.st/t/python-program-to-get-torrent-magnet-links-of-movies/82325/1 "2020-04-26T05:59:46Z")

</div>

This is a python tool I found while surfing Reddit. It lets you get magnet link to any movie.

[https://github.com/link1-n/SearchPlay](https://github.com/link1-n/SearchPlay)

EDIT: Use the below-updated file instead

[https://github.com/zahash/movie\_magnet/blob/master/movie\_magnet.py](https://github.com/zahash/movie_magnet/blob/master/movie_magnet.py)

---

<div class="post-metadata">

**Author:** ![Abd\_Shk](https://onehack.st/user_avatar/onehack.st/abd_shk/32/25814_2.png) [@Abd\_Shk](https://onehack.st/u/Abd_Shk)\
**Post date:** [April 26, 2020, 6:23am UTC](https://onehack.st/t/python-program-to-get-torrent-magnet-links-of-movies/82325/2 "2020-04-26T06:23:43Z")

</div>

How to use on windows using installed python 3.8

---

<div class="post-metadata">

**Author:** ![kornbolt](https://onehack.st/user_avatar/onehack.st/kornbolt/32/8719_2.png) [@kornbolt](https://onehack.st/u/kornbolt)\
**Post date:** [April 26, 2020, 7:51am UTC](https://onehack.st/t/python-program-to-get-torrent-magnet-links-of-movies/82325/3 "2020-04-26T07:51:28Z")

</div>

Clone the repo. Open Command Prompt. Now CD into the folder. Run the following command:

> [@](#):
>
> pip install -r requirements.txt

Now run the python file using

> [@](#):
>
> python file\_name.py

---

<div class="post-metadata">

**Author:** ![WEBD](https://onehack.st/user_avatar/onehack.st/webd/32/117499_2.png) [@WEBD](https://onehack.st/u/WEBD)\
**Post date:** [April 26, 2020, 8:43am UTC](https://onehack.st/t/python-program-to-get-torrent-magnet-links-of-movies/82325/4 "2020-04-26T08:43:50Z")

</div>

Thanks .. Nice share.  
I am stuck with  
" Script made by u/link1-n and u/sp1nalcord.  
Do you want to run again? "  
Screenshot enclose.

Have any idea how to come out.

 ![error](https://onehack.st/uploads/default/original/3X/7/b/7b65593991fe874cd248293bfca99051a98ca205.png)

---

<div class="post-metadata">

**Author:** ![elton.germano](https://onehack.st/user_avatar/onehack.st/elton.germano/32/39796_2.png) [@elton.germano](https://onehack.st/u/elton.germano)\
**Post date:** [April 26, 2020, 10:08am UTC](https://onehack.st/t/python-program-to-get-torrent-magnet-links-of-movies/82325/5 "2020-04-26T10:08:53Z")

</div>

Case sensitive?

---

<div class="post-metadata">

**Author:** ![mydadsperm](https://onehack.st/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@mydadsperm](https://onehack.st/u/mydadsperm)\
**Post date:** [April 26, 2020, 2:14pm UTC](https://onehack.st/t/python-program-to-get-torrent-magnet-links-of-movies/82325/6 "2020-04-26T14:14:41Z")

</div>

thanks friend

---

<div class="post-metadata">

**Author:** ![paul\_aurand](https://onehack.st/user_avatar/onehack.st/paul_aurand/32/82299_2.png) [@paul\_aurand](https://onehack.st/u/paul_aurand)\
**Post date:** [April 26, 2020, 3:58pm UTC](https://onehack.st/t/python-program-to-get-torrent-magnet-links-of-movies/82325/7 "2020-04-26T15:58:28Z")

</div>

I got these error. please guys help me to fix it ..

 ![error](https://onehack.st/uploads/default/original/3X/4/8/483288ca5dabe74465bc8369dd63ae08bbe8fcd1.jpeg)

---

<div class="post-metadata">

**Author:** ![WEBD](https://onehack.st/user_avatar/onehack.st/webd/32/117499_2.png) [@WEBD](https://onehack.st/u/WEBD)\
**Post date:** [April 26, 2020, 4:06pm UTC](https://onehack.st/t/python-program-to-get-torrent-magnet-links-of-movies/82325/8 "2020-04-26T16:06:18Z")

</div>

still the same ..

 ![image](https://onehack.st/uploads/default/original/3X/9/0/90c8272fbaa1cd9244e7349af731e12f1141fc4f.png)

---

<div class="post-metadata">

**Author:** ![toomuchsausage](https://onehack.st/letter_avatar_proxy/v4/letter/t/e95f7d/32.png) [@toomuchsausage](https://onehack.st/u/toomuchsausage)\
**Post date:** [April 27, 2020, 5:47am UTC](https://onehack.st/t/python-program-to-get-torrent-magnet-links-of-movies/82325/9 "2020-04-27T05:47:08Z")

</div>

[https://github.com/zahash/movie\_magnet/blob/master/movie\_magnet.py](https://github.com/zahash/movie_magnet/blob/master/movie_magnet.py)

This is the updated code. Please use this instead
