<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -53,9 +53,13 @@ class Tests_Bug15453 extends PHPUnit_Framework_TestCase
 {
 	public function testScrape()
 	{
+		if (!(bool)ini_get('allow_url_fopen')) $this-&gt;markTestSkipped();
 		// Decode the torrent
 		$File_Bittorrent2_Decode = new File_Bittorrent2_Decode;
-		$File_Bittorrent2_Decode-&gt;decodeFile('./bugs/bug-15453/Brothers.and.Sisters.S03E03.HDTV.XviD-NoTV.avi.4442311.TPB.torrent');
+		$temp = tempnam(sys_get_temp_dir(), __CLASS__);
+		file_put_contents($temp, file_get_contents('http://torrents.thepiratebay.org/4442311/Brothers.and .Sisters.S03E03.HDTV.XviD-NoTV.avi.4442311.TPB.torrent'));
+		$File_Bittorrent2_Decode-&gt;decodeFile($temp);
 		$stats = $File_Bittorrent2_Decode-&gt;getStats();
+		unlink($temp);
 	}
 }</diff>
      <filename>Tests/Bug15453.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d76460b489ca4ba29d2bcb1b11288969876bd959</id>
    </parent>
    <parent>
      <id>739056d0414fda28c3cab892fe8d2023884a9b08</id>
    </parent>
  </parents>
  <author>
    <name>Jon Williams</name>
    <email>jonathan.williams@gmail.com</email>
  </author>
  <url>http://github.com/WIZARDISHUNGRY/file_bittorrent2/commit/f6bf952becda5f15ee161c94e9110f811c4789e7</url>
  <id>f6bf952becda5f15ee161c94e9110f811c4789e7</id>
  <committed-date>2009-02-20T08:59:45-08:00</committed-date>
  <authored-date>2009-02-20T08:59:45-08:00</authored-date>
  <message>fixing merge from vendor</message>
  <tree>383c07fc0b763f1ea1d3f7775723dd5dd51e28e2</tree>
  <committer>
    <name>Jon Williams</name>
    <email>jonathan.williams@gmail.com</email>
  </committer>
</commit>
